From 10b4fbf861d1d9ca3db005c703ee7e7d2ba0e7b7 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 9 Mar 2019 23:52:32 -0800 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_hostapd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 314005b7ccc6..50ca8e584c2f 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -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;