Commit 9b0cb4b6 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Declare SetBWMode23a() static

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f3c9d640
......@@ -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)
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment