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
Tento commit je obsažen v:
Jeff Johnson
2019-03-09 20:43:43 -08:00
odevzdal nshrivas
rodič d062b8d6d6
revize ddd05cf29d
2 změnil soubory, kde provedl 10 přidání a 10 odebrání

Zobrazit soubor

@@ -5244,7 +5244,7 @@ static int32_t hdd_process_genie(struct hdd_adapter *adapter,
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 @@ static int32_t hdd_process_genie(struct hdd_adapter *adapter,
}
/* 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 @@ static int32_t hdd_process_genie(struct hdd_adapter *adapter,
}
/* 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",

Zobrazit soubor

@@ -2692,7 +2692,7 @@ static int hdd_softap_unpack_ie(mac_handle_t mac_handle,
{
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 @@ static int hdd_softap_unpack_ie(mac_handle_t mac_handle,
}
/* 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 @@ static int hdd_softap_unpack_ie(mac_handle_t mac_handle,
}
/* 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);