diff options
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index f6f3753da30..dd682c4cfde 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h | |||
@@ -10,7 +10,6 @@ | |||
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> | ||
14 | 13 | ||
15 | #include "defs.h" | 14 | #include "defs.h" |
16 | #include "hostcmd.h" | 15 | #include "hostcmd.h" |
@@ -278,6 +277,12 @@ struct lbs_private { | |||
278 | struct enc_key wpa_mcast_key; | 277 | struct enc_key wpa_mcast_key; |
279 | struct enc_key wpa_unicast_key; | 278 | struct enc_key wpa_unicast_key; |
280 | 279 | ||
280 | /* | ||
281 | * In theory, the IE is limited to the IE length, 255, | ||
282 | * but in practice 64 bytes are enough. | ||
283 | */ | ||
284 | #define MAX_WPA_IE_LEN 64 | ||
285 | |||
281 | /** WPA Information Elements*/ | 286 | /** WPA Information Elements*/ |
282 | u8 wpa_ie[MAX_WPA_IE_LEN]; | 287 | u8 wpa_ie[MAX_WPA_IE_LEN]; |
283 | u8 wpa_ie_len; | 288 | u8 wpa_ie_len; |