mac80211: fix P2P-Device management frame RX
authorJohannes Berg <johannes.berg@intel.com>
Thu, 18 Apr 2013 21:42:19 +0000 (23:42 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 18 Apr 2013 21:44:41 +0000 (23:44 +0200)
commit1b737f88dc1b05cf571e96d42f748aaff6df1eb5
tree2b5d99e1727a02cb681ee80a221dfd41cadea483
parenteea85999eca4d7f3528010cd8277392cd56ba713
mac80211: fix P2P-Device management frame RX

There's an issue in receiving broadcast management frames
on P2P Device virtual interfaces, such frames have the RX
flag IEEE80211_RX_RA_MATCH cleared and are thus dropped
in ieee80211_rx_h_mgmt_check(). They should be let through
to make it to ieee80211_rx_h_userspace_mgmt() and then to
userspace.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c