]> git.karo-electronics.de Git - karo-tx-linux.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)
commit70a3fd6c61c46c07c63cab935dca9a17d8de1709
treed4d387ead57237196d50f29dce781a92d9f15ad0
parent0f611d28fc2e13cfec64e1c544c16a086886805a
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