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 5e5d1b4..3e66e01 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 a52ddf3..492af05 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 9752fda..ee27585 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: