qcacld-3.0: Remove operationChannel from csr_roam_profile
Remove operationChannel from structure csr_roam_profile, remove the code where value assigning to operationChannel take place. Change-Id: If7cd64d4d7513000181f92faabd6c863341c71f9 CRs-Fixed: 2503043
This commit is contained in:
parent
c48ea29e3d
commit
030099b43f
@ -2279,8 +2279,6 @@ static QDF_STATUS sap_goto_starting(struct sap_context *sap_ctx,
|
||||
1;
|
||||
sap_ctx->csr_roamProfile.ChannelInfo.freq_list =
|
||||
&sap_ctx->csr_roamProfile.op_freq;
|
||||
sap_ctx->csr_roamProfile.operationChannel =
|
||||
(uint8_t)sap_ctx->channel;
|
||||
sap_ctx->csr_roamProfile.op_freq =
|
||||
wlan_reg_chan_to_freq(mac_ctx->pdev,
|
||||
(uint8_t)sap_ctx->channel);
|
||||
|
@ -761,7 +761,6 @@ struct csr_roam_profile {
|
||||
tAniEdType mgmt_encryption_type;
|
||||
tCsrKeys Keys;
|
||||
tCsrChannelInfo ChannelInfo;
|
||||
uint8_t operationChannel;
|
||||
uint32_t op_freq;
|
||||
struct ch_params ch_params;
|
||||
/* If this is 0, SME will fill in for caller. */
|
||||
|
@ -14264,10 +14264,9 @@ void csr_roam_prepare_bss_params(struct mac_context *mac, uint32_t sessionId,
|
||||
sizeof(struct qdf_mac_addr));
|
||||
}
|
||||
channel = pSession->bssParams.operationChn;
|
||||
/* Set operating channel in pProfile which will be used */
|
||||
/* Set operating frequency in pProfile which will be used */
|
||||
/* in csr_roam_set_bss_config_cfg() to determine channel bonding */
|
||||
/* mode and will be configured in CFG later */
|
||||
pProfile->operationChannel = channel;
|
||||
pProfile->op_freq = wlan_reg_chan_to_freq(mac->pdev, channel);
|
||||
|
||||
if (channel == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user