diff options
| author | Service qcabuildsw <qcabuildsw@localhost> | 2016-10-26 22:00:57 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-26 22:00:57 -0700 |
| commit | aca9912cc3352bff1f97803707322f4b4975973f (patch) | |
| tree | d0af8df2f8b57e3096042d6f37075b1d9490a0ba | |
| parent | 5272981b791c8cba84196e5b4ad003ec0a81b3ac (diff) | |
| parent | 2836c5a199196a5609f94ae93f5145857d3d34cd (diff) | |
Merge "qcacld-3.0: Reset the parameters which overrides the ACS" into wlan-cld3.driver.lnx.1.1-dev
| -rw-r--r-- | core/hdd/src/wlan_hdd_main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 9326fd93492c..3897c1252c62 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -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); |
