mac80211: only respond to probe request with mesh ID
authorChun-Yeow Yeoh <yeohchunyeow@cozybit.com>
Thu, 22 Aug 2013 17:28:58 +0000 (10:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Aug 2013 13:25:06 +0000 (15:25 +0200)
commita4ef66a915b957416a89a48365aea2ec2dc551f6
tree4de470b8f12b518b85a9b8dd3bca3103632c4c44
parent1fb9026000e66ffe032b11ec724c1bc7d068198e
mac80211: only respond to probe request with mesh ID

Previously, the mesh STA responds to probe request from legacy STA
but now it will only respond to legacy STA if the legacy STA does include
the specific mesh ID or wildcard mesh ID in the probe request.

The iw patch "iw: scan using meshid" can be used either by legacy STA
or by mesh STA to do active scanning by inserting the mesh ID in the
probe request frame.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@cozybit.com>
Acked-by: Thomas Pedersen <thomas@cozybit.com>
Acked-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c