Skip to content

Commit

Permalink
wl1251: remove wext dependencies
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Aug 8, 2011
1 parent 3b40c04 commit 9090e16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/wl1251/cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/wl1251/wl12xx_80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9090e16

Please sign in to comment.