Skip to content

Commit

Permalink
[PATCH] libertas: use <net/ieee80211.h> for MAX_WPA_IE_LEN
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Dan Williams authored and John W. Linville committed May 11, 2007
1 parent 51b0c9d commit 4684c23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/wireless/libertas/dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <linux/wireless.h>
#include <linux/ethtool.h>
#include <linux/debugfs.h>
#include <net/ieee80211.h>

#include "defs.h"
#include "scan.h"
Expand Down Expand Up @@ -198,7 +199,6 @@ struct assoc_request {
struct wlan_802_11_security secinfo;

/** WPA Information Elements*/
#define MAX_WPA_IE_LEN 64
u8 wpa_ie[MAX_WPA_IE_LEN];
u8 wpa_ie_len;
};
Expand Down Expand Up @@ -339,7 +339,6 @@ struct _wlan_adapter {
struct WLAN_802_11_KEY wpa_unicast_key;

/** WPA Information Elements*/
#define MAX_WPA_IE_LEN 64
u8 wpa_ie[MAX_WPA_IE_LEN];
u8 wpa_ie_len;

Expand Down

0 comments on commit 4684c23

Please sign in to comment.