Commit 9090e167 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

wl1251: remove wext dependencies

This driver uses IW_ESSID_MAX_SIZE when it should
be using IEEE80211_MAX_SSID_LEN instead.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3b40c040
...@@ -269,7 +269,7 @@ struct cmd_join { ...@@ -269,7 +269,7 @@ struct cmd_join {
u8 bss_type; u8 bss_type;
u8 channel; u8 channel;
u8 ssid_len; u8 ssid_len;
u8 ssid[IW_ESSID_MAX_SIZE]; u8 ssid[IEEE80211_MAX_SSID_LEN];
u8 ctrl; /* JOIN_CMD_CTRL_* */ u8 ctrl; /* JOIN_CMD_CTRL_* */
u8 tx_mgt_frame_rate; /* OBSOLETE */ u8 tx_mgt_frame_rate; /* OBSOLETE */
u8 tx_mgt_frame_mod; /* OBSOLETE */ u8 tx_mgt_frame_mod; /* OBSOLETE */
......
...@@ -76,7 +76,7 @@ struct wl12xx_ie_header { ...@@ -76,7 +76,7 @@ struct wl12xx_ie_header {
struct wl12xx_ie_ssid { struct wl12xx_ie_ssid {
struct wl12xx_ie_header header; struct wl12xx_ie_header header;
char ssid[IW_ESSID_MAX_SIZE]; char ssid[IEEE80211_MAX_SSID_LEN];
} __packed; } __packed;
struct wl12xx_ie_rates { struct wl12xx_ie_rates {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment