OSDN Git Service

mac80211: accept public action frames with mismatched BSSID
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Dec 2011 09:39:40 +0000 (10:39 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Dec 2011 21:07:07 +0000 (16:07 -0500)
commit3df6eaea76a9e1351b539541c0314129a0e4b10c
treed5dcdafdcf236e3293eeca39db9715292389e88b
parentaa5b549215f85cf48a7040bc9d33c4dae0c7d11a
mac80211: accept public action frames with mismatched BSSID

Arik's patch "mac80211: allow action frames with unknown
BSSID in GO mode" allowed any action frames in P2P mode
to go through, but only to cooked monitor interfaces as
the IEEE80211_RX_RA_MATCH was still cleared. As a result
my no-monitor patches broke invitation responses.

Instead of allowing any action frames in P2P GO mode to
go through with a wrong BSSID like that patch did, allow
all public action frames. They will never be processed
by mac80211, but can be reported via nl80211 then.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/ieee80211.h
net/mac80211/rx.c