summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-07-13 10:39:16 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-08-08 14:26:19 -0400
commit3b40c04071ce3c0d74d19518ef884fed5c981fd7 (patch)
tree3ecb9342de25367bc4181ec931a35c5a8ebff3cc /drivers/net/wireless/wl12xx/main.c
parent029111e1c62f4f5ceb2a478ebb82bae9f882646a (diff)
downloadtalos-obmc-linux-3b40c04071ce3c0d74d19518ef884fed5c981fd7.tar.gz
talos-obmc-linux-3b40c04071ce3c0d74d19518ef884fed5c981fd7.zip
wl12xx: remove wext dependencies
This driver uses IW_ESSID_MAX_SIZE when it should be using IEEE80211_MAX_SSID_LEN instead. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Acked-by: Luciano Coelho <coelho@ti.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r--drivers/net/wireless/wl12xx/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index e58c22d21e39..3418299e17c8 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -1997,7 +1997,7 @@ static void __wl1271_op_remove_interface(struct wl1271 *wl,
wl1271_power_off(wl);
memset(wl->bssid, 0, ETH_ALEN);
- memset(wl->ssid, 0, IW_ESSID_MAX_SIZE + 1);
+ memset(wl->ssid, 0, IEEE80211_MAX_SSID_LEN + 1);
wl->ssid_len = 0;
wl->bss_type = MAX_BSS_TYPE;
wl->set_bss_type = MAX_BSS_TYPE;
OpenPOWER on IntegriCloud