diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 95a00eb57249..01176ba52df4 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -1380,6 +1380,9 @@ void __ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
1380 | list_for_each_entry(sdata, &local->sub_if_list, list) { | 1380 | list_for_each_entry(sdata, &local->sub_if_list, list) { |
1381 | rx.u.rx.ra_match = 1; | 1381 | rx.u.rx.ra_match = 1; |
1382 | 1382 | ||
1383 | if (!netif_running(sdata->dev)) | ||
1384 | continue; | ||
1385 | |||
1383 | prepres = prepare_for_handlers(sdata, bssid, &rx, hdr); | 1386 | prepres = prepare_for_handlers(sdata, bssid, &rx, hdr); |
1384 | /* prepare_for_handlers can change sta */ | 1387 | /* prepare_for_handlers can change sta */ |
1385 | sta = rx.sta; | 1388 | sta = rx.sta; |