From: Johannes Berg <johannes@sipsolutions.net>
To: John Linville <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH 09/11] wl1251: remove wext dependencies
Date: Wed, 13 Jul 2011 10:39:17 +0200 [thread overview]
Message-ID: <20110713084034.911957622@sipsolutions.net> (raw)
In-Reply-To: 20110713083908.713123063@sipsolutions.net
From: Johannes Berg <johannes.berg@intel.com>
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>
---
drivers/net/wireless/wl1251/cmd.h | 2 +-
drivers/net/wireless/wl1251/wl12xx_80211.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/net/wireless/wl1251/cmd.h 2011-07-13 10:22:47.000000000 +0200
+++ b/drivers/net/wireless/wl1251/cmd.h 2011-07-13 10:22:50.000000000 +0200
@@ -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 */
--- a/drivers/net/wireless/wl1251/wl12xx_80211.h 2011-07-13 10:22:47.000000000 +0200
+++ b/drivers/net/wireless/wl1251/wl12xx_80211.h 2011-07-13 10:22:50.000000000 +0200
@@ -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 {
next prev parent reply other threads:[~2011-07-13 8:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-13 8:39 [PATCH 00/11] wext reductio Johannes Berg
2011-07-13 8:39 ` [PATCH 01/11] cfg80211: split wext compatibility to separate header Johannes Berg
2011-07-13 8:39 ` [PATCH 02/11] iwlagn: remove wireless extensions inclusions Johannes Berg
2011-07-13 8:39 ` [PATCH 03/11] iwlegacy: " Johannes Berg
2011-07-13 8:39 ` [PATCH 04/11] ath5k: " Johannes Berg
2011-07-13 14:16 ` Pavel Roskin
2011-07-13 8:39 ` [PATCH 05/11] b43: " Johannes Berg
2011-07-13 8:39 ` [PATCH 06/11] b43legacy: " Johannes Berg
2011-07-13 14:02 ` Larry Finger
2011-07-13 8:39 ` [PATCH 07/11] rndis_wlan: " Johannes Berg
2011-07-13 8:39 ` [PATCH 08/11] wl12xx: remove wext dependencies Johannes Berg
2011-07-13 9:04 ` Luciano Coelho
2011-07-13 8:39 ` Johannes Berg [this message]
2011-07-13 8:39 ` [PATCH 10/11] mwifiex: add wext include Johannes Berg
2011-07-13 19:56 ` Bing Zhao
2011-07-13 8:39 ` [PATCH 11/11] mac80211: remove linux/wireless.h inclusion Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110713084034.911957622@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).