staging: rtl8723au: Declare SetBWMode23a() static

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jes Sorensen 2014-05-21 09:38:23 +02:00 committed by Greg Kroah-Hartman
parent f3c9d6409b
commit 9b0cb4b6a6
2 changed files with 3 additions and 4 deletions

View 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)

View 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);