diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-08-28 23:01:53 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:48:43 +0200 |
commit | 643856729e2fde781f63eb84ecb43bbad35bf1ae (patch) | |
tree | b6e6cec0284ad70d1536ae2817545fd4cd0a052b /net/mac80211/rx.c | |
parent | [MAC80211]: ratelimit some RX messages (diff) | |
download | linux-643856729e2fde781f63eb84ecb43bbad35bf1ae.tar.xz linux-643856729e2fde781f63eb84ecb43bbad35bf1ae.zip |
[MAC80211]: remove ieee80211_msg_wep_frame_unknown_key
Neither hostapd nor wpa_supplicant really use it.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to '')
-rw-r--r-- | net/mac80211/rx.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 7a6e60fcf9d0..b0959c249869 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -346,12 +346,11 @@ ieee80211_rx_h_load_key(struct ieee80211_txrx_data *rx) MAC_ARG(hdr->addr1), MAC_ARG(hdr->addr2), MAC_ARG(hdr->addr3)); - if (!rx->local->apdev) - return TXRX_DROP; - ieee80211_rx_mgmt( - rx->local, rx->skb, rx->u.rx.status, - ieee80211_msg_wep_frame_unknown_key); - return TXRX_QUEUED; + /* + * TODO: notify userspace about this + * via cfg/nl80211 + */ + return TXRX_DROP; } } } |