mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
qcacld-3.0: Rename HDD identifier pMFPRequired
The Linux Coding Style frowns upon mixed-case names and so-called Hungarian notation, so rename HDD identifier pMFPRequired to be compliant. Change-Id: I4bea75c912505c856381502b225067ed5e0cdbea CRs-Fixed: 2416636
This commit is contained in:
parent
17e89093c6
commit
10b4fbf861
1 changed files with 3 additions and 3 deletions
|
|
@ -2687,7 +2687,7 @@ static int hdd_softap_unpack_ie(mac_handle_t mac_handle,
|
|||
eCsrEncryptionType *mc_encrypt_type,
|
||||
tCsrAuthList *akm_list,
|
||||
bool *mfp_capable,
|
||||
bool *pMFPRequired,
|
||||
bool *mfp_required,
|
||||
uint16_t gen_ie_len, uint8_t *gen_ie)
|
||||
{
|
||||
uint32_t ret;
|
||||
|
|
@ -2746,7 +2746,7 @@ static int hdd_softap_unpack_ie(mac_handle_t mac_handle,
|
|||
gp_cipher_suite);
|
||||
/* Set the PMKSA ID Cache for this interface */
|
||||
*mfp_capable = 0 != (dot11_rsn_ie.RSN_Cap[0] & 0x80);
|
||||
*pMFPRequired = 0 != (dot11_rsn_ie.RSN_Cap[0] & 0x40);
|
||||
*mfp_required = 0 != (dot11_rsn_ie.RSN_Cap[0] & 0x40);
|
||||
} else if (gen_ie[0] == DOT11F_EID_WPA) {
|
||||
/* Validity checks */
|
||||
if ((gen_ie_len < DOT11F_IE_WPA_MIN_LEN) ||
|
||||
|
|
@ -2788,7 +2788,7 @@ static int hdd_softap_unpack_ie(mac_handle_t mac_handle,
|
|||
hdd_translate_wpa_to_csr_encryption_type(dot11_wpa_ie.
|
||||
multicast_cipher);
|
||||
*mfp_capable = false;
|
||||
*pMFPRequired = false;
|
||||
*mfp_required = false;
|
||||
} else {
|
||||
hdd_err("gen_ie[0]: %d", gen_ie[0]);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue