diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-02-01 06:23:05 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-03 16:44:44 -0500 |
commit | 771bbd09f7febb854dd7c30f983aa57535f9e8c9 (patch) | |
tree | 2943cd110d0020596b227fe56ccfc7d285e85426 /net/mac80211 | |
parent | d057e5a381cbaec5632117bf62ba49438ab16214 (diff) |
mac80211: pass up beacons from external BSS when operating as AP
Beacons from external BSSes are required for updating overlapping BSS
info (i.e. ERP protection). Pass them up unconditionally.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/rx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index d78d6fc333d2..c08b8e90bbcb 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -2698,7 +2698,8 @@ static int prepare_for_handlers(struct ieee80211_rx_data *rx, | |||
2698 | return 0; | 2698 | return 0; |
2699 | } else if (!ieee80211_bssid_match(bssid, | 2699 | } else if (!ieee80211_bssid_match(bssid, |
2700 | sdata->vif.addr)) { | 2700 | sdata->vif.addr)) { |
2701 | if (!(status->rx_flags & IEEE80211_RX_IN_SCAN)) | 2701 | if (!(status->rx_flags & IEEE80211_RX_IN_SCAN) && |
2702 | !ieee80211_is_beacon(hdr->frame_control)) | ||
2702 | return 0; | 2703 | return 0; |
2703 | status->rx_flags &= ~IEEE80211_RX_RA_MATCH; | 2704 | status->rx_flags &= ~IEEE80211_RX_RA_MATCH; |
2704 | } | 2705 | } |