qcacld-3.0: Rename HDD identifier RSNIeLen
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier RSNIeLen to be compliant.
Change-Id: I3414f964d2a86915a519f74782820854705c90b6
CRs-Fixed: 2416629
diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c
index 09ca0fb..c0c21f0 100644
--- a/core/hdd/src/wlan_hdd_assoc.c
+++ b/core/hdd/src/wlan_hdd_assoc.c
@@ -5244,7 +5244,7 @@
tDot11fIERSN dot11RSNIE = {0};
tDot11fIEWPA dot11WPAIE = {0};
uint8_t *rsn_ie;
- uint16_t RSNIeLen;
+ uint16_t rsn_ie_len;
uint32_t parse_status;
#ifdef WLAN_CONV_CRYPTO_SUPPORTED
uint16_t rsn_cap = 0;
@@ -5268,9 +5268,9 @@
}
/* Skip past the EID byte and length byte */
rsn_ie = gen_ie + 2;
- RSNIeLen = gen_ie_len - 2;
+ rsn_ie_len = gen_ie_len - 2;
/* Unpack the RSN IE */
- parse_status = sme_unpack_rsn_ie(mac_handle, rsn_ie, RSNIeLen,
+ parse_status = sme_unpack_rsn_ie(mac_handle, rsn_ie, rsn_ie_len,
&dot11RSNIE, false);
if (!DOT11F_SUCCEEDED(parse_status)) {
hdd_err("Invalid RSN IE: parse status %d",
@@ -5316,10 +5316,10 @@
}
/* Skip past the EID and length byte - and four byte WiFi OUI */
rsn_ie = gen_ie + 2 + 4;
- RSNIeLen = gen_ie_len - (2 + 4);
+ rsn_ie_len = gen_ie_len - (2 + 4);
/* Unpack the WPA IE */
parse_status = dot11f_unpack_ie_wpa(MAC_CONTEXT(mac_handle),
- rsn_ie, RSNIeLen,
+ rsn_ie, rsn_ie_len,
&dot11WPAIE, false);
if (!DOT11F_SUCCEEDED(parse_status)) {
hdd_err("Invalid WPA IE: parse status %d",
diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c
index ba67328..aed2903 100644
--- a/core/hdd/src/wlan_hdd_hostapd.c
+++ b/core/hdd/src/wlan_hdd_hostapd.c
@@ -2692,7 +2692,7 @@
{
uint32_t ret;
uint8_t *rsn_ie;
- uint16_t RSNIeLen, i;
+ uint16_t rsn_ie_len, i;
tDot11fIERSN dot11RSNIE = {0};
tDot11fIEWPA dot11WPAIE = {0};
@@ -2714,10 +2714,10 @@
}
/* Skip past the EID byte and length byte */
rsn_ie = gen_ie + 2;
- RSNIeLen = gen_ie_len - 2;
+ rsn_ie_len = gen_ie_len - 2;
/* Unpack the RSN IE */
memset(&dot11RSNIE, 0, sizeof(tDot11fIERSN));
- ret = sme_unpack_rsn_ie(mac_handle, rsn_ie, RSNIeLen,
+ ret = sme_unpack_rsn_ie(mac_handle, rsn_ie, rsn_ie_len,
&dot11RSNIE, false);
if (DOT11F_FAILED(ret)) {
hdd_err("unpack failed, ret: 0x%x", ret);
@@ -2755,11 +2755,11 @@
}
/* Skip past the EID byte and length byte and 4 byte WiFi OUI */
rsn_ie = gen_ie + 2 + 4;
- RSNIeLen = gen_ie_len - (2 + 4);
+ rsn_ie_len = gen_ie_len - (2 + 4);
/* Unpack the WPA IE */
memset(&dot11WPAIE, 0, sizeof(tDot11fIEWPA));
ret = dot11f_unpack_ie_wpa(MAC_CONTEXT(mac_handle),
- rsn_ie, RSNIeLen,
+ rsn_ie, rsn_ie_len,
&dot11WPAIE, false);
if (DOT11F_FAILED(ret)) {
hdd_err("unpack failed, ret: 0x%x", ret);