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:
Jeff Johnson 2019-03-09 23:52:32 -08:00 • committed by nshrivas
commit 10b4fbf861

View file

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