diff options
author | Jouni Malinen <jkmaline@cc.hut.fi> | 2005-08-14 22:08:42 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-14 23:07:30 -0400 |
commit | 3ec0f4857df4c3dd0d0455ce5b2470b4be77fc77 (patch) | |
tree | badaa7f340e6ed65ecbb70837a8fbdb004f2d202 /drivers | |
parent | 67e0e473fb54e7657f6604236e42ef07fd7a2768 (diff) |
[PATCH] hostap: Remove extra defines
Remove unused defines that are already available from generic kernel
header files.
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_common.h | 8 | ||||
-rw-r--r-- | drivers/net/wireless/hostap/hostap_wlan.h | 7 |
2 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/wireless/hostap/hostap_common.h b/drivers/net/wireless/hostap/hostap_common.h index 3f86263a08fd..76f5ef1b59d3 100644 --- a/drivers/net/wireless/hostap/hostap_common.h +++ b/drivers/net/wireless/hostap/hostap_common.h | |||
@@ -7,14 +7,6 @@ | |||
7 | #define MACSTR "%02x:%02x:%02x:%02x:%02x:%02x" | 7 | #define MACSTR "%02x:%02x:%02x:%02x:%02x:%02x" |
8 | 8 | ||
9 | 9 | ||
10 | #ifndef ETH_P_PAE | ||
11 | #define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */ | ||
12 | #endif /* ETH_P_PAE */ | ||
13 | |||
14 | #define ETH_P_PREAUTH 0x88C7 /* IEEE 802.11i pre-authentication */ | ||
15 | |||
16 | |||
17 | |||
18 | /* IEEE 802.11 defines */ | 10 | /* IEEE 802.11 defines */ |
19 | 11 | ||
20 | #define WLAN_FC_PVER (BIT(1) | BIT(0)) | 12 | #define WLAN_FC_PVER (BIT(1) | BIT(0)) |
diff --git a/drivers/net/wireless/hostap/hostap_wlan.h b/drivers/net/wireless/hostap/hostap_wlan.h index 7781e8264d64..cc061e1560d3 100644 --- a/drivers/net/wireless/hostap/hostap_wlan.h +++ b/drivers/net/wireless/hostap/hostap_wlan.h | |||
@@ -18,13 +18,6 @@ | |||
18 | * prism2_send_mgmt() sends these with dev_queue_xmit() to prism2_tx(). */ | 18 | * prism2_send_mgmt() sends these with dev_queue_xmit() to prism2_tx(). */ |
19 | #define ETH_P_HOSTAP ETH_P_CONTROL | 19 | #define ETH_P_HOSTAP ETH_P_CONTROL |
20 | 20 | ||
21 | #ifndef ARPHRD_IEEE80211 | ||
22 | #define ARPHRD_IEEE80211 801 | ||
23 | #endif | ||
24 | #ifndef ARPHRD_IEEE80211_PRISM | ||
25 | #define ARPHRD_IEEE80211_PRISM 802 | ||
26 | #endif | ||
27 | |||
28 | /* ARPHRD_IEEE80211_PRISM uses a bloated version of Prism2 RX frame header | 21 | /* ARPHRD_IEEE80211_PRISM uses a bloated version of Prism2 RX frame header |
29 | * (from linux-wlan-ng) */ | 22 | * (from linux-wlan-ng) */ |
30 | struct linux_wlan_ng_val { | 23 | struct linux_wlan_ng_val { |