qcacld-3.0: Check for SAP restart after channel switch

Race condition in STA connection and Channel switch of
Softap can result in MCC for STA+SAP scenario. Even
though Force SCC is enabled.

As part of STA connection in association handler SAP
restart is checked. If Channel Switch for SAP interface
is in progress at the same time. Then depending on SAP
Channel MCC can be resulted.
Check for SAP restart in the function hdd_hostapd_sap_event_cb.

Change-Id: Ic4ba8790d604f184eb8030e4fe06c5e76f9a62bd
CRs-Fixed: 2205482
This commit is contained in:
Bala Venkatesh 2018-04-13 20:48:11 +05:30 • committed by nshrivas
commit f13b72897b

View file

@ -1783,6 +1783,10 @@ QDF_STATUS hdd_hostapd_sap_event_cb(tpSap_Event pSapEvent,
we_custom_event_generic = we_custom_start_event;
hdd_ipa_set_tx_flow_info();
hdd_debug("check for SAP restart");
policy_mgr_check_concurrent_intf_and_restart_sap(
hdd_ctx->hdd_psoc);
if (policy_mgr_is_hw_mode_change_after_vdev_up(
hdd_ctx->hdd_psoc)) {
hdd_debug("check for possible hw mode change");