|
@@ -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;
|