aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/dev.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2009-10-22 09:30:47 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:48:36 -0400
commit243e84e91ed810f7dca5ba1c2d1a611811948566 (patch)
treee9c4a62a7ed787f3d509e00954a48b85c6ef75c1 /drivers/net/wireless/libertas/dev.h
parentf4228b4c2e5864ee9d2051176beb2bd5a49a15cc (diff)
libertas: change IW_ESSID_MAX_SIZE -> IEEE80211_MAX_SSID_LEN
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r--drivers/net/wireless/libertas/dev.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h
index 52b5ca1cd57e..50b457706bad 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -65,7 +65,7 @@ struct current_bss_params {
65 /** bssid */ 65 /** bssid */
66 u8 bssid[ETH_ALEN]; 66 u8 bssid[ETH_ALEN];
67 /** ssid */ 67 /** ssid */
68 u8 ssid[IW_ESSID_MAX_SIZE + 1]; 68 u8 ssid[IEEE80211_MAX_SSID_LEN + 1];
69 u8 ssid_len; 69 u8 ssid_len;
70 70
71 /** band */ 71 /** band */
@@ -163,7 +163,7 @@ struct lbs_private {
163 struct work_struct sync_channel; 163 struct work_struct sync_channel;
164 /* remember which channel was scanned last, != 0 if currently scanning */ 164 /* remember which channel was scanned last, != 0 if currently scanning */
165 int scan_channel; 165 int scan_channel;
166 u8 scan_ssid[IW_ESSID_MAX_SIZE + 1]; 166 u8 scan_ssid[IEEE80211_MAX_SSID_LEN + 1];
167 u8 scan_ssid_len; 167 u8 scan_ssid_len;
168 168
169 /** Hardware access */ 169 /** Hardware access */
@@ -230,7 +230,7 @@ struct lbs_private {
230 struct current_bss_params curbssparams; 230 struct current_bss_params curbssparams;
231 231
232 uint16_t mesh_tlv; 232 uint16_t mesh_tlv;
233 u8 mesh_ssid[IW_ESSID_MAX_SIZE + 1]; 233 u8 mesh_ssid[IEEE80211_MAX_SSID_LEN + 1];
234 u8 mesh_ssid_len; 234 u8 mesh_ssid_len;
235 235
236 /* IW_MODE_* */ 236 /* IW_MODE_* */
@@ -340,7 +340,7 @@ extern struct cmd_confirm_sleep confirm_sleep;
340struct bss_descriptor { 340struct bss_descriptor {
341 u8 bssid[ETH_ALEN]; 341 u8 bssid[ETH_ALEN];
342 342
343 u8 ssid[IW_ESSID_MAX_SIZE + 1]; 343 u8 ssid[IEEE80211_MAX_SSID_LEN + 1];
344 u8 ssid_len; 344 u8 ssid_len;
345 345
346 u16 capability; 346 u16 capability;
@@ -389,7 +389,7 @@ struct assoc_request {
389#define ASSOC_FLAG_WPA_IE 11 389#define ASSOC_FLAG_WPA_IE 11
390 unsigned long flags; 390 unsigned long flags;
391 391
392 u8 ssid[IW_ESSID_MAX_SIZE + 1]; 392 u8 ssid[IEEE80211_MAX_SSID_LEN + 1];
393 u8 ssid_len; 393 u8 ssid_len;
394 u8 channel; 394 u8 channel;
395 u8 band; 395 u8 band;