diff --git a/core/sap/src/sap_fsm.c b/core/sap/src/sap_fsm.c index a1c6ef83ce84..8dc34f24fcf4 100644 --- a/core/sap/src/sap_fsm.c +++ b/core/sap/src/sap_fsm.c @@ -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); diff --git a/core/sme/inc/csr_api.h b/core/sme/inc/csr_api.h index 957a1ff5fbf4..4e795f92f356 100644 --- a/core/sme/inc/csr_api.h +++ b/core/sme/inc/csr_api.h @@ -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. */ diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index e8129374a0e4..b5a448367341 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -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)