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
此提交包含在:
gaurank kathpalia
2018-12-04 13:23:52 +05:30
提交者 nshrivas
父節點 40bd452c5b
當前提交 079ec73fbc

查看文件

@@ -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