summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhu Yi2006-04-13 11:17:35 +0200
committerJohn W. Linville2006-04-24 22:15:53 +0200
commit35c14b855f52c49e4f3d078b9532b056005ed321 (patch)
tree4fea40fcc0c6a29038a0c5f3a0927affe20110b3
parent[PATCH] ieee80211: export list of bit rates with standard WEXT procddures (diff)
downloadkernel-qcow2-linux-35c14b855f52c49e4f3d078b9532b056005ed321.tar.gz
kernel-qcow2-linux-35c14b855f52c49e4f3d078b9532b056005ed321.tar.xz
kernel-qcow2-linux-35c14b855f52c49e4f3d078b9532b056005ed321.zip
[PATCH] ieee80211: remove unnecessary CONFIG_WIRELESS_EXT checking
Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--net/ieee80211/ieee80211_rx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c
index 604b7b0097bc..0d18742c4132 100644
--- a/net/ieee80211/ieee80211_rx.c
+++ b/net/ieee80211/ieee80211_rx.c
@@ -369,7 +369,6 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
/* Put this code here so that we avoid duplicating it in all
* Rx paths. - Jean II */
-#ifdef CONFIG_WIRELESS_EXT
#ifdef IW_WIRELESS_SPY /* defined in iw_handler.h */
/* If spy monitoring on */
if (ieee->spy_data.spy_number > 0) {
@@ -398,7 +397,6 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
wireless_spy_update(ieee->dev, hdr->addr2, &wstats);
}
#endif /* IW_WIRELESS_SPY */
-#endif /* CONFIG_WIRELESS_EXT */
#ifdef NOT_YET
hostap_update_rx_stats(local->ap, hdr, rx_stats);