staging: rtl8723au: Declare rtw_site_survey() static
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:38:34 +0000 (09:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:52 +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_mlme_ext.c
drivers/staging/rtl8723au/include/rtw_mlme_ext.h

index 58ff635c51571978af4948e47be142439345f8c7..1a36e640690dc0b14cba5312cea319e282bec2e2 100644 (file)
@@ -4384,7 +4384,7 @@ bool IsLegal5GChannel(struct rtw_adapter *Adapter, u8 channel)
        return false;
 }
 
-void site_survey23a(struct rtw_adapter *padapter)
+static void rtw_site_survey(struct rtw_adapter *padapter)
 {
        unsigned char survey_channel = 0;
        enum rt_scan_type ScanType = SCAN_PASSIVE;
@@ -4401,7 +4401,7 @@ void site_survey23a(struct rtw_adapter *padapter)
        }
 
        if (survey_channel != 0) {
-               /* PAUSE 4-AC Queue when site_survey23a */
+               /* PAUSE 4-AC Queue when site_survey */
                if (pmlmeext->sitesurvey_res.channel_idx == 0)
                        set_channel_bwmode23a(padapter, survey_channel,
                                              HAL_PRIME_CHNL_OFFSET_DONT_CARE,
@@ -4440,7 +4440,7 @@ void site_survey23a(struct rtw_adapter *padapter)
                                      pmlmeext->cur_ch_offset,
                                      pmlmeext->cur_bwmode);
 
-               /* flush 4-AC Queue after site_survey23a */
+               /* flush 4-AC Queue after rtw_site_survey */
                /* val8 = 0; */
 
                /* config MSR */
@@ -6213,7 +6213,7 @@ int sitesurvey_cmd_hdl23a(struct rtw_adapter *padapter, const u8 *pbuf)
                pmlmeext->sitesurvey_res.state = SCAN_PROCESS;
        }
 
-       site_survey23a(padapter);
+       rtw_site_survey(padapter);
 
        return H2C_SUCCESS;
 }
index afbd807299b9a0863f8e5d74ecbf0bdf188e7162..0f757307ebb66e7d362c8037de1712cef8b77e1e 100644 (file)
@@ -495,7 +495,6 @@ void flush_all_cam_entry23a(struct rtw_adapter *padapter);
 
 bool IsLegal5GChannel(struct rtw_adapter *Adapter, u8 channel);
 
-void site_survey23a(struct rtw_adapter *padapter);
 int collect_bss_info23a(struct rtw_adapter *padapter,
                        struct recv_frame *precv_frame,
                        struct wlan_bssid_ex *bssid);