mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 11:54:37 +08:00
[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>
This commit is contained in:
parent
51b0c9d09d
commit
4684c23dd4
@ -10,6 +10,7 @@
|
|||||||
#include <linux/wireless.h>
|
#include <linux/wireless.h>
|
||||||
#include <linux/ethtool.h>
|
#include <linux/ethtool.h>
|
||||||
#include <linux/debugfs.h>
|
#include <linux/debugfs.h>
|
||||||
|
#include <net/ieee80211.h>
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "scan.h"
|
#include "scan.h"
|
||||||
@ -198,7 +199,6 @@ struct assoc_request {
|
|||||||
struct wlan_802_11_security secinfo;
|
struct wlan_802_11_security secinfo;
|
||||||
|
|
||||||
/** WPA Information Elements*/
|
/** WPA Information Elements*/
|
||||||
#define MAX_WPA_IE_LEN 64
|
|
||||||
u8 wpa_ie[MAX_WPA_IE_LEN];
|
u8 wpa_ie[MAX_WPA_IE_LEN];
|
||||||
u8 wpa_ie_len;
|
u8 wpa_ie_len;
|
||||||
};
|
};
|
||||||
@ -339,7 +339,6 @@ struct _wlan_adapter {
|
|||||||
struct WLAN_802_11_KEY wpa_unicast_key;
|
struct WLAN_802_11_KEY wpa_unicast_key;
|
||||||
|
|
||||||
/** WPA Information Elements*/
|
/** WPA Information Elements*/
|
||||||
#define MAX_WPA_IE_LEN 64
|
|
||||||
u8 wpa_ie[MAX_WPA_IE_LEN];
|
u8 wpa_ie[MAX_WPA_IE_LEN];
|
||||||
u8 wpa_ie_len;
|
u8 wpa_ie_len;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user