qcacld-3.0: Rename mac in __lim_counter_measures()

An upcoming campaign will rename all instances of pMac to mac in the
driver. In function __lim_counter_measures() there is already a local
variable named mac, so the pMac renaming will cause a conflict. In
order to avoid the conflict rename the existing local variable.

Change-Id: If7438c9ca98a65c0a3c29b77d279f8bd41258165
CRs-Fixed: 2353461
This commit is contained in:
Jeff Johnson 2018-11-20 09:40:23 -08:00 • committed by Nitesh Shrivastav
commit 2b51190eeb

View file

@ -2954,11 +2954,11 @@ lim_assoc_sta_end:
static void __lim_counter_measures(tpAniSirGlobal pMac, tpPESession psessionEntry)
{
tSirMacAddr mac = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
tSirMacAddr mac_addr = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
if (LIM_IS_AP_ROLE(psessionEntry))
lim_send_disassoc_mgmt_frame(pMac, eSIR_MAC_MIC_FAILURE_REASON,
mac, psessionEntry, false);
mac_addr, psessionEntry, false);
};
void lim_send_stop_bss_failure_resp(tpAniSirGlobal mac_ctx,