staging: rtl8723au: Remove unused ieee880211_is_empty_essid()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5951a5c1b8
commit
30947bbc27
|
@ -930,23 +930,6 @@ void rtw_macaddr_cfg23a(u8 *mac_addr)
|
||||||
MAC_ARG(mac_addr));
|
MAC_ARG(mac_addr));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Baron adds to avoid FreeBSD warning */
|
|
||||||
int ieee80211_is_empty_essid23a(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)
|
||||||
{
|
{
|
||||||
const u8 *pbuf;
|
const u8 *pbuf;
|
||||||
|
|
|
@ -382,9 +382,6 @@ join_res:
|
||||||
#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_essid23a(const char *essid, int essid_len);
|
|
||||||
|
|
||||||
enum _PUBLIC_ACTION{
|
enum _PUBLIC_ACTION{
|
||||||
ACT_PUBLIC_BSSCOEXIST = 0, /* 20/40 BSS Coexistence */
|
ACT_PUBLIC_BSSCOEXIST = 0, /* 20/40 BSS Coexistence */
|
||||||
ACT_PUBLIC_DSE_ENABLE = 1,
|
ACT_PUBLIC_DSE_ENABLE = 1,
|
||||||
|
|
Loading…
Reference in a new issue