diff options
| author | Srinivas Girigowda <sgirigow@qca.qualcomm.com> | 2015-06-08 10:29:56 -0700 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2015-06-09 19:23:09 +0530 |
| commit | 56bc5802e7225f04eb099fa7aaab5245c970bb89 (patch) | |
| tree | 8330c6715187d37ec225bcb6266f2463cc0170e9 | |
| parent | b31e64fa7a31a9f75bc121ffbb72043cc0837cc3 (diff) | |
qcacld-2.0: Remove redundant IF check
This is a prima to qcacld-2.0 propagation.
Each RSN and WPA block has separate boundary checks,
Hence the upper general boundary check is not required.
CRs-Fixed: 818809
Change-Id: I479a6862eddaf947b519724cb362a390e64ac16b
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_assoc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/CORE/HDD/src/wlan_hdd_assoc.c b/CORE/HDD/src/wlan_hdd_assoc.c index 887c0594ba70..bf7a99142e5e 100644 --- a/CORE/HDD/src/wlan_hdd_assoc.c +++ b/CORE/HDD/src/wlan_hdd_assoc.c @@ -4076,14 +4076,6 @@ static tANI_S32 hdd_ProcessGENIE(hdd_adapter_t *pAdapter, memset( &dot11WPAIE, 0 , sizeof(tDot11fIEWPA) ); memset( &dot11RSNIE, 0 , sizeof(tDot11fIERSN) ); - // Validity checks - if ((gen_ie_len < VOS_MIN(DOT11F_IE_RSN_MIN_LEN, DOT11F_IE_WPA_MIN_LEN)) || - (gen_ie_len > VOS_MAX(DOT11F_IE_RSN_MAX_LEN, DOT11F_IE_WPA_MAX_LEN)) ) - { - hddLog(LOGE, "%s: Invalid DOT11F IE Length passed :%d", - __func__, gen_ie_len); - return -EINVAL; - } // Type check if ( gen_ie[0] == DOT11F_EID_RSN) { |
