]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: ask for ECSA IE to be considered for beacon parse CRC
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Mar 2015 06:53:29 +0000 (08:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Mar 2015 08:36:11 +0000 (09:36 +0100)
commitc4c8d5be313d8d816598053a07c9f3b04fc805e8
treed4d387ead57237196d50f29dce781a92d9f15ad0
parent57e8bb87be5363893aced86bef054dbde09e2a79
mac80211: ask for ECSA IE to be considered for beacon parse CRC

When a beacon from the AP contains only the ECSA IE, and not a CSA IE
as well, this ECSA IE is not considered for calculating the CRC and
the beacon might be dropped as not being interesting. This is clearly
wrong, it should be handled and the channel switch should be executed.

Fix this by including the ECSA IE ID in the bitmap of interesting IEs.

Reported-by: Gil Tribush <gil.tribush@intel.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c