]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: don't drop p2p probe responses
authorEliad Peller <eliad@wizery.com>
Sun, 29 May 2011 12:53:20 +0000 (15:53 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 1 Jun 2011 18:34:01 +0000 (14:34 -0400)
commit58f84df41a79313a65f046821ea035435c4a9233
tree9dff6d71d30b863a30bc07c22326e32cd573eea5
parent1f81add43d0068c38e859f83c56aad6de682a961
cfg80211: don't drop p2p probe responses

Commit 2b251d9 ("cfg80211: Use capability info to detect mesh beacons")
assumed that probe response with both ESS and IBSS bits cleared
means that the frame was sent by a mesh sta.

However, these capabilities are also being used in the p2p_find phase,
and the mesh-validation broke it.

Rename the WLAN_CAPABILITY_IS_MBSS macro, and verify that mesh ies
exist before assuming this frame was sent by a mesh sta.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/ieee80211.h
net/wireless/scan.c