mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Reset the parameters which overrides the ACS
qcacld-2.0 to qcacld-3.0 propagation When restarting SAP due to unsafe channel list, make sure to set the acs_channel and sapConfig.channel to 0. Otherwise these parameters overides the ACS logic. Change-Id: I52d8575960e4d5bac5aa509df41c20fb846a96e6 CRs-Fixed: 1031468
This commit is contained in:
parent
8284e5b398
commit
2836c5a199
1 changed files with 8 additions and 0 deletions
|
|
@ -6024,6 +6024,14 @@ void hdd_unsafe_channel_restart_sap(hdd_context_t *hdd_ctxt)
|
|||
if (!restart_chan) {
|
||||
hdd_alert("fail to restart SAP");
|
||||
} else {
|
||||
/* SAP restart due to unsafe channel. While restarting
|
||||
* the SAP, make sure to clear acs_channel, channel to
|
||||
* reset to 0. Otherwise these settings will override
|
||||
* the ACS while restart.
|
||||
*/
|
||||
hdd_ctxt->acs_policy.acs_channel = AUTO_CHANNEL_SELECT;
|
||||
adapter_temp->sessionCtx.ap.sapConfig.channel =
|
||||
AUTO_CHANNEL_SELECT;
|
||||
hdd_info("sending coex indication");
|
||||
wlan_hdd_send_svc_nlink_msg(hdd_ctxt->radio_index,
|
||||
WLAN_SVC_LTE_COEX_IND, NULL, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue