]> 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)
commit32c28c915186be989f7c650b583f1b9a88ed9f4e
treed4d387ead57237196d50f29dce781a92d9f15ad0
parent0b03c8323143c4ca010bcb7a90a3b5f456c79edb
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