staging: rtl8192e: rename function DOT11D_ScanComplete to dot11d_scan_complete -...
authorHimadri Pandya <himadri18.07@gmail.com>
Sun, 10 Feb 2019 08:43:16 +0000 (14:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Feb 2019 09:02:47 +0000 (10:02 +0100)
Rename function DOT11D_ScanComplete to dot11d_scan_complete to fix
checkpatch warning: Avoid CamelCase.

Signed-off-by: Himadri Pandya <himadri18.07@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/dot11d.c
drivers/staging/rtl8192e/dot11d.h
drivers/staging/rtl8192e/rtllib_softmac.c

index 5e5d1b4bf33fb02e8a9e8160ea5556770fd8cf39..3e66e01138dbb8117ce183339bdee7895085e131 100644 (file)
@@ -158,7 +158,7 @@ void dot11d_update_country(struct rtllib_device *dev, u8 *pTaddr,
        dot11d_info->state = DOT11D_STATE_LEARNED;
 }
 
-void DOT11D_ScanComplete(struct rtllib_device *dev)
+void dot11d_scan_complete(struct rtllib_device *dev)
 {
        struct rt_dot11d_info *dot11d_info = GET_DOT11D_INFO(dev);
 
index a52ddf3ae4f6469f3ce9cf2fb96262d999fe9fdc..492af05521d6865eab6e94e340616c14fef47910 100644 (file)
@@ -86,6 +86,6 @@ void dot11d_channel_map(u8 channel_plan, struct rtllib_device *ieee);
 void dot11d_reset(struct rtllib_device *dev);
 void dot11d_update_country(struct rtllib_device *dev, u8 *pTaddr,
                            u16 CoutryIeLen, u8 *pCoutryIe);
-void DOT11D_ScanComplete(struct rtllib_device *dev);
+void dot11d_scan_complete(struct rtllib_device *dev);
 
 #endif
index 9752fda840d41063d7fa4b9f47022caf234a284c..ee275857868f33aad5d552bfe2c4aee3d52be8c5 100644 (file)
@@ -564,7 +564,7 @@ out:
 
        if (ieee->state >= RTLLIB_LINKED) {
                if (IS_DOT11D_ENABLE(ieee))
-                       DOT11D_ScanComplete(ieee);
+                       dot11d_scan_complete(ieee);
        }
        mutex_unlock(&ieee->scan_mutex);
 
@@ -623,7 +623,7 @@ static void rtllib_softmac_scan_wq(void *data)
 
 out:
        if (IS_DOT11D_ENABLE(ieee))
-               DOT11D_ScanComplete(ieee);
+               dot11d_scan_complete(ieee);
        ieee->current_network.channel = last_channel;
 
 out1: