diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-07-13 04:39:17 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 14:26:21 -0400 |
commit | 9090e167d08c4fd8d7d2c7c7b0126ab5881f219a (patch) | |
tree | c93e11b57169fc6b179dd1355b9ac3f56f384653 /drivers | |
parent | 3b40c04071ce3c0d74d19518ef884fed5c981fd7 (diff) |
wl1251: 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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/wl1251/cmd.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/wl12xx_80211.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl1251/cmd.h b/drivers/net/wireless/wl1251/cmd.h index 79ca5273c9e9..ee4f2b391822 100644 --- a/drivers/net/wireless/wl1251/cmd.h +++ b/drivers/net/wireless/wl1251/cmd.h | |||
@@ -269,7 +269,7 @@ struct cmd_join { | |||
269 | u8 bss_type; | 269 | u8 bss_type; |
270 | u8 channel; | 270 | u8 channel; |
271 | u8 ssid_len; | 271 | u8 ssid_len; |
272 | u8 ssid[IW_ESSID_MAX_SIZE]; | 272 | u8 ssid[IEEE80211_MAX_SSID_LEN]; |
273 | u8 ctrl; /* JOIN_CMD_CTRL_* */ | 273 | u8 ctrl; /* JOIN_CMD_CTRL_* */ |
274 | u8 tx_mgt_frame_rate; /* OBSOLETE */ | 274 | u8 tx_mgt_frame_rate; /* OBSOLETE */ |
275 | u8 tx_mgt_frame_mod; /* OBSOLETE */ | 275 | u8 tx_mgt_frame_mod; /* OBSOLETE */ |
diff --git a/drivers/net/wireless/wl1251/wl12xx_80211.h b/drivers/net/wireless/wl1251/wl12xx_80211.h index 1417b1445c3d..04ed51495772 100644 --- a/drivers/net/wireless/wl1251/wl12xx_80211.h +++ b/drivers/net/wireless/wl1251/wl12xx_80211.h | |||
@@ -76,7 +76,7 @@ struct wl12xx_ie_header { | |||
76 | 76 | ||
77 | struct wl12xx_ie_ssid { | 77 | struct wl12xx_ie_ssid { |
78 | struct wl12xx_ie_header header; | 78 | struct wl12xx_ie_header header; |
79 | char ssid[IW_ESSID_MAX_SIZE]; | 79 | char ssid[IEEE80211_MAX_SSID_LEN]; |
80 | } __packed; | 80 | } __packed; |
81 | 81 | ||
82 | struct wl12xx_ie_rates { | 82 | struct wl12xx_ie_rates { |