wl1251: remove wext dependencies
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jul 2011 08:39:17 +0000 (10:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Aug 2011 18:26:21 +0000 (14:26 -0400)
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl1251/cmd.h
drivers/net/wireless/wl1251/wl12xx_80211.h

index 79ca5273c9e9092ed1892064974cdde2549f781b..ee4f2b391822ac7b58da04e5c6fa6e52daef0813 100644 (file)
@@ -269,7 +269,7 @@ struct cmd_join {
        u8 bss_type;
        u8 channel;
        u8 ssid_len;
-       u8 ssid[IW_ESSID_MAX_SIZE];
+       u8 ssid[IEEE80211_MAX_SSID_LEN];
        u8 ctrl; /* JOIN_CMD_CTRL_* */
        u8 tx_mgt_frame_rate; /* OBSOLETE */
        u8 tx_mgt_frame_mod;  /* OBSOLETE */
index 1417b1445c3d0cbe3435583e082c644a276846db..04ed514957728540031024893a07bc2e3ecb3fb0 100644 (file)
@@ -76,7 +76,7 @@ struct wl12xx_ie_header {
 
 struct wl12xx_ie_ssid {
        struct wl12xx_ie_header header;
-       char ssid[IW_ESSID_MAX_SIZE];
+       char ssid[IEEE80211_MAX_SSID_LEN];
 } __packed;
 
 struct wl12xx_ie_rates {