qcacmn: Fix Supported rates max length

Currently the driver checks for the supported rates IE,
and if the length of the IE is greater than 8, the driver
rejects the IE, according to spec.
But some APs supports 12 rates hence are not scanned.

Fix is to have a supported rates IE length check of 12 instead
of 8.

Change-Id: Ib0e25c94e781ccd44b7f08ea3db6109ad8d6ad22
CRs-Fixed: 2360709
This commit is contained in:
gaurank kathpalia 2018-12-04 13:23:52 +05:30 • committed by nshrivas
commit 079ec73fbc

View file

@ -96,7 +96,7 @@
/* Individual element IEs length checks */
#define WLAN_SUPPORTED_RATES_IE_MAX_LEN 8
#define WLAN_SUPPORTED_RATES_IE_MAX_LEN 12
#define WLAN_DS_PARAM_IE_MAX_LEN 1
#define WLAN_COUNTRY_IE_MIN_LEN 3
#define WLAN_QUIET_IE_MAX_LEN 6