qcacld-3.0: Add ini check when indicate WLAN_SVC_LTE_COEX_IND message
In lte coex case, when ini gEnableSapInternalRestart set to 1, driver will indicate WLAN_SVC_LTE_COEX_IND message to upper layer, then upper layer will restart sap, driver also will do inetrnal sap restart in this case, this will cause duplicate sap restart. Add ini gEnableSapInternalRestart check when indicate WLAN_SVC_LTE_COEX_IND message to upper layer. Change-Id: I045f8c40d1931aef088a2dbc700f6ae2706a3c79 CRs-Fixed: 2469012
Цей коміт міститься в:
@@ -8749,17 +8749,18 @@ void hdd_unsafe_channel_restart_sap(struct hdd_context *hdd_ctxt)
|
||||
* the ACS while restart.
|
||||
*/
|
||||
hdd_ctxt->acs_policy.acs_channel = AUTO_CHANNEL_SELECT;
|
||||
hdd_debug("sending coex indication");
|
||||
wlan_hdd_send_svc_nlink_msg(hdd_ctxt->radio_index,
|
||||
WLAN_SVC_LTE_COEX_IND, NULL, 0);
|
||||
ucfg_mlme_get_sap_internal_restart(hdd_ctxt->psoc,
|
||||
&value);
|
||||
hdd_debug("driver to start sap: %d", value);
|
||||
if (value)
|
||||
hdd_switch_sap_channel(adapter, restart_chan,
|
||||
true);
|
||||
else
|
||||
else {
|
||||
hdd_debug("sending coex indication");
|
||||
wlan_hdd_send_svc_nlink_msg(
|
||||
hdd_ctxt->radio_index,
|
||||
WLAN_SVC_LTE_COEX_IND, NULL, 0);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Посилання в новій задачі
Заблокувати користувача