]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50a83bcc2900ad49ef1322195a1123ba0791b2ed
treed5dcdafdcf236e3293eeca39db9715292389e88b
parentdeb3b867758d42b5fbed1e443dd6742693d09b53
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