aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/dev.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-05-10 22:52:04 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-05-11 14:54:52 -0400
commit4684c23dd472815755728fe954dfd2944956b4aa (patch)
tree7120718bb65ec472ffee7b3000932e8f349e697b /drivers/net/wireless/libertas/dev.h
parent51b0c9d09d0a889a232605e71555e390b3b110fb (diff)
[PATCH] libertas: use <net/ieee80211.h> for MAX_WPA_IE_LEN
Signed-off-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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h
index b1f876f9693b..295e7d00f952 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -10,6 +10,7 @@
10#include <linux/wireless.h> 10#include <linux/wireless.h>
11#include <linux/ethtool.h> 11#include <linux/ethtool.h>
12#include <linux/debugfs.h> 12#include <linux/debugfs.h>
13#include <net/ieee80211.h>
13 14
14#include "defs.h" 15#include "defs.h"
15#include "scan.h" 16#include "scan.h"
@@ -198,7 +199,6 @@ struct assoc_request {
198 struct wlan_802_11_security secinfo; 199 struct wlan_802_11_security secinfo;
199 200
200 /** WPA Information Elements*/ 201 /** WPA Information Elements*/
201#define MAX_WPA_IE_LEN 64
202 u8 wpa_ie[MAX_WPA_IE_LEN]; 202 u8 wpa_ie[MAX_WPA_IE_LEN];
203 u8 wpa_ie_len; 203 u8 wpa_ie_len;
204}; 204};
@@ -339,7 +339,6 @@ struct _wlan_adapter {
339 struct WLAN_802_11_KEY wpa_unicast_key; 339 struct WLAN_802_11_KEY wpa_unicast_key;
340 340
341 /** WPA Information Elements*/ 341 /** WPA Information Elements*/
342#define MAX_WPA_IE_LEN 64
343 u8 wpa_ie[MAX_WPA_IE_LEN]; 342 u8 wpa_ie[MAX_WPA_IE_LEN];
344 u8 wpa_ie_len; 343 u8 wpa_ie_len;
345 344