staging:r8188eu: remove ieee80211_is_empty_essid()
ieee80211_is_empty_essid() is unused, remove it. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5c92c3e376
commit
13e00f8ebd
@ -955,23 +955,6 @@ void rtw_macaddr_cfg(u8 *mac_addr)
|
|||||||
DBG_88E("rtw_macaddr_cfg MAC Address = %pM\n", (mac_addr));
|
DBG_88E("rtw_macaddr_cfg MAC Address = %pM\n", (mac_addr));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Baron adds to avoid FreeBSD warning */
|
|
||||||
int ieee80211_is_empty_essid(const char *essid, int essid_len)
|
|
||||||
{
|
|
||||||
/* Single white space is for Linksys APs */
|
|
||||||
if (essid_len == 1 && essid[0] == ' ')
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
/* Otherwise, if the entire essid is 0, we assume it is hidden */
|
|
||||||
while (essid_len) {
|
|
||||||
essid_len--;
|
|
||||||
if (essid[essid_len] != '\0')
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int rtw_get_cipher_info(struct wlan_network *pnetwork)
|
static int rtw_get_cipher_info(struct wlan_network *pnetwork)
|
||||||
{
|
{
|
||||||
uint wpa_ielen;
|
uint wpa_ielen;
|
||||||
|
@ -632,9 +632,6 @@ static inline int is_broadcast_mac_addr(const u8 *addr)
|
|||||||
#define IEEE_G (1<<2)
|
#define IEEE_G (1<<2)
|
||||||
#define IEEE_MODE_MASK (IEEE_A|IEEE_B|IEEE_G)
|
#define IEEE_MODE_MASK (IEEE_A|IEEE_B|IEEE_G)
|
||||||
|
|
||||||
/* Baron move to ieee80211.c */
|
|
||||||
int ieee80211_is_empty_essid(const char *essid, int essid_len);
|
|
||||||
|
|
||||||
/* Action category code */
|
/* Action category code */
|
||||||
enum rtw_ieee80211_category {
|
enum rtw_ieee80211_category {
|
||||||
RTW_WLAN_CATEGORY_SPECTRUM_MGMT = 0,
|
RTW_WLAN_CATEGORY_SPECTRUM_MGMT = 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user