aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c11
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)
346 MAC_ARG(hdr->addr1), 346 MAC_ARG(hdr->addr1),
347 MAC_ARG(hdr->addr2), 347 MAC_ARG(hdr->addr2),
348 MAC_ARG(hdr->addr3)); 348 MAC_ARG(hdr->addr3));
349 if (!rx->local->apdev) 349 /*
350 return TXRX_DROP; 350 * TODO: notify userspace about this
351 ieee80211_rx_mgmt( 351 * via cfg/nl80211
352 rx->local, rx->skb, rx->u.rx.status, 352 */
353 ieee80211_msg_wep_frame_unknown_key); 353 return TXRX_DROP;
354 return TXRX_QUEUED;
355 } 354 }
356 } 355 }
357 } 356 }