aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/mac80211/rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 7e0b3e340389..5709307fcb9b 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2359,7 +2359,7 @@ static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw,
2359 continue; 2359 continue;
2360 } 2360 }
2361 2361
2362 rx.sta = sta_info_get(prev, hdr->addr2); 2362 rx.sta = sta_info_get_bss(prev, hdr->addr2);
2363 2363
2364 rx.flags |= IEEE80211_RX_RA_MATCH; 2364 rx.flags |= IEEE80211_RX_RA_MATCH;
2365 prepares = prepare_for_handlers(prev, &rx, hdr); 2365 prepares = prepare_for_handlers(prev, &rx, hdr);
@@ -2395,7 +2395,7 @@ next:
2395 } 2395 }
2396 2396
2397 if (prev) { 2397 if (prev) {
2398 rx.sta = sta_info_get(prev, hdr->addr2); 2398 rx.sta = sta_info_get_bss(prev, hdr->addr2);
2399 2399
2400 rx.flags |= IEEE80211_RX_RA_MATCH; 2400 rx.flags |= IEEE80211_RX_RA_MATCH;
2401 prepares = prepare_for_handlers(prev, &rx, hdr); 2401 prepares = prepare_for_handlers(prev, &rx, hdr);