cfg80211: don't drop p2p probe responses
authorEliad Peller <eliad@wizery.com>
Sun, 29 May 2011 12:53:20 +0000 (12:53 +0000)
committerChristian Lamparter <chunkeey@googlemail.com>
Sat, 16 Jul 2011 00:16:22 +0000 (02:16 +0200)
commiteb8711c9917fc843fa675cc6fb0522cf71422550
tree18f3f92b1f1bfbda9b7d903266f6dbebc5c40e74
parent67460e54bedffbc62589ab4d5742e85091107b87
cfg80211: don't drop p2p probe responses

Commit 0a35d36 ("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: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h