Commit 0306b4f5 authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman

staging: rtl8188eu: Remove unused function rtw_set_scan_mode()

Signed-off-by: default avatarnavin patidar <navin.patidar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fbb67058
...@@ -1074,23 +1074,6 @@ u16 rtw_get_cur_max_rate(struct adapter *adapter) ...@@ -1074,23 +1074,6 @@ u16 rtw_get_cur_max_rate(struct adapter *adapter)
return max_rate; return max_rate;
} }
/*
* rtw_set_scan_mode -
* @adapter: pointer to struct adapter structure
* @scan_mode:
*
* Return _SUCCESS or _FAIL
*/
int rtw_set_scan_mode(struct adapter *adapter, enum rt_scan_type scan_mode)
{
if (scan_mode != SCAN_ACTIVE && scan_mode != SCAN_PASSIVE)
return _FAIL;
adapter->mlmepriv.scan_mode = scan_mode;
return _SUCCESS;
}
/* /*
* rtw_set_country - * rtw_set_country -
* @adapter: pointer to struct adapter structure * @adapter: pointer to struct adapter structure
......
...@@ -42,7 +42,6 @@ u8 rtw_set_802_11_remove_key(struct adapter *adapt, ...@@ -42,7 +42,6 @@ u8 rtw_set_802_11_remove_key(struct adapter *adapt,
struct ndis_802_11_remove_key *key); struct ndis_802_11_remove_key *key);
u8 rtw_validate_ssid(struct ndis_802_11_ssid *ssid); u8 rtw_validate_ssid(struct ndis_802_11_ssid *ssid);
u16 rtw_get_cur_max_rate(struct adapter *adapter); u16 rtw_get_cur_max_rate(struct adapter *adapter);
int rtw_set_scan_mode(struct adapter *adapter, enum rt_scan_type scan_mode);
int rtw_set_country(struct adapter *adapter, const char *country_code); int rtw_set_country(struct adapter *adapter, const char *country_code);
#endif #endif
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