staging: rtl8723au: Get rid of unused get_bsstype23a()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9b0cb4b6a6
commit
41a5a460ed
|
@ -394,15 +394,6 @@ void set_channel_bwmode23a(struct rtw_adapter *padapter, unsigned char channel,
|
|||
set_bwmode(padapter, bwmode, channel_offset);
|
||||
}
|
||||
|
||||
int get_bsstype23a(unsigned short capability)
|
||||
{
|
||||
if (capability & BIT(0))
|
||||
return WIFI_FW_AP_STATE;
|
||||
else if (capability & BIT(1))
|
||||
return WIFI_FW_ADHOC_STATE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline u8 *get_my_bssid23a(struct wlan_bssid_ex *pnetwork)
|
||||
{
|
||||
return pnetwork->MacAddress;
|
||||
|
|
|
@ -502,7 +502,6 @@ int collect_bss_info23a(struct rtw_adapter *padapter,
|
|||
void update_network23a(struct wlan_bssid_ex *dst, struct wlan_bssid_ex *src,
|
||||
struct rtw_adapter *padapter, bool update_ie);
|
||||
|
||||
int get_bsstype23a(unsigned short capability);
|
||||
u8 *get_my_bssid23a(struct wlan_bssid_ex *pnetwork);
|
||||
u16 get_beacon_interval23a(struct wlan_bssid_ex *bss);
|
||||
|
||||
|
|
Loading…
Reference in New Issue