qcacld-3.0: Remove an unused local variable

Remove the local variable selfStaDot11Mode from function
lim_process_sta_mlm_add_bss_rsp_ft as it is not used anymore.

Change-Id: I642ed6ef9f61aa5d30882cc5cbd5d356b56a1573
CRs-Fixed: 2626419
This commit is contained in:
wadesong 2020-02-20 10:14:09 +08:00 • committed by nshrivas
commit a0000d5747

View file

@ -380,7 +380,6 @@ void lim_process_sta_mlm_add_bss_rsp_ft(struct mac_context *mac,
tpDphHashNode sta = NULL;
tpAddStaParams pAddStaParams = NULL;
uint32_t listenInterval = MLME_CFG_LISTEN_INTERVAL;
uint32_t selfStaDot11Mode = 0;
/* Sanity Checks */
@ -508,7 +507,6 @@ void lim_process_sta_mlm_add_bss_rsp_ft(struct mac_context *mac,
listenInterval = mac->mlme_cfg->sap_cfg.listen_interval;
pAddStaParams->listenInterval = (uint16_t) listenInterval;
selfStaDot11Mode = mac->mlme_cfg->dot11_mode.dot11_mode;
pAddStaParams->encryptType = pe_session->encryptType;
pAddStaParams->maxTxPower = pe_session->maxTxPower;