diff options
| author | yeshwanth sriram guntuka <ysriramg@codeaurora.org> | 2016-12-28 13:54:35 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-01-03 21:10:22 -0800 |
| commit | e5c90a83652ab5becdefba25806cb84d645e6674 (patch) | |
| tree | ed260cd1499c84821fcc517c18a8a6141e5bc87b | |
| parent | 69bd1a9d71db26ffe0ae393f43348ac46dd874e4 (diff) | |
qcacld-3.0: Fix rate population on channel change of SAP
On channel change of SAP to 5G, SAP is populating 2.4G basic
rates in 5G beacon.
Set number of supported and extended rates to zero for populating
rates based on network type. CSR layer will pick default rates if
hostapd rates are passed as zero
Change-Id: Ia393f7b6067f31dc8f792cda2bd74c441c2112e6
CRs-Fixed: 1105867
| -rw-r--r-- | core/sap/src/sap_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/sap/src/sap_module.c b/core/sap/src/sap_module.c index d9a6f1345123..b4572241bbe6 100644 --- a/core/sap/src/sap_module.c +++ b/core/sap/src/sap_module.c @@ -2638,6 +2638,8 @@ wlansap_channel_change_request(void *pSapCtx, uint8_t target_channel) ch_params->center_freq_seg0; sapContext->csr_roamProfile.ch_params.center_freq_seg1 = ch_params->center_freq_seg1; + sapContext->csr_roamProfile.supported_rates.numRates = 0; + sapContext->csr_roamProfile.extended_rates.numRates = 0; qdf_ret_status = sme_roam_channel_change_req(hHal, sapContext->bssid, ch_params, &sapContext->csr_roamProfile); |
