staging: rtl8723au: Declare SetBWMode23a() static
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:38:23 +0000 (09:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:50 +0000 (16:27 +0900)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_wlan_util.c
drivers/staging/rtl8723au/include/rtw_mlme_ext.h

index 68ba22555d38536046550d5b670efc35f76e997a..ce581a2c8f10cb912ed83c80c14017d9592d288a 100644 (file)
@@ -340,7 +340,8 @@ void SelectChannel23a(struct rtw_adapter *padapter, unsigned char channel)
        mutex_unlock(&adapter_to_dvobj(padapter)->setch_mutex);
 }
 
-void SetBWMode23a(struct rtw_adapter *padapter, unsigned short bwmode, unsigned char channel_offset)
+static void set_bwmode(struct rtw_adapter *padapter, unsigned short bwmode,
+                      unsigned char channel_offset)
 {
        mutex_lock(&adapter_to_dvobj(padapter)->setbw_mutex);
 
@@ -390,7 +391,7 @@ void set_channel_bwmode23a(struct rtw_adapter *padapter, unsigned char channel,
 
        mutex_unlock(&adapter_to_dvobj(padapter)->setch_mutex);
 
-       SetBWMode23a(padapter, bwmode, channel_offset);
+       set_bwmode(padapter, bwmode, channel_offset);
 }
 
 int get_bsstype23a(unsigned short capability)
index c8b2c8dc9afbdf1716e8b6e017b89f1bfbaae6b9..8d15297c3cb4a0a1751036437d11fe0fd5d4a5f2 100644 (file)
@@ -483,8 +483,6 @@ void rtw_set_oper_ch23aoffset23a(struct rtw_adapter *adapter, u8 offset);
 void set_channel_bwmode23a(struct rtw_adapter *padapter, unsigned char channel,
                        unsigned char channel_offset, unsigned short bwmode);
 void SelectChannel23a(struct rtw_adapter *padapter, unsigned char channel);
-void SetBWMode23a(struct rtw_adapter *padapter, unsigned short bwmode,
-              unsigned char channel_offset);
 
 unsigned int decide_wait_for_beacon_timeout23a(unsigned int bcn_interval);