qcacld-3.0: Do not block tx if no CAC performed

For STA+SAP on SCC on DFS channel and the DFS master
capability is disabled on SAP by INI. The CAC is skipped
in protocol stack. Do not block tx for SAP in
such condition.

Change-Id: I62a130b246d37d10492d287776c5b51e48d63c5f
CRs-Fixed: 2525465
This commit is contained in:
Liangwei Dong 2019-09-19 16:46:33 +08:00 committed by nshrivas
parent 3a32b2c2c5
commit 424738442b

View File

@ -1824,6 +1824,9 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event,
qdf_atomic_set(&adapter->ch_switch_in_progress, 0);
wlansap_get_dfs_ignore_cac(mac_handle, &ignoreCAC);
if (!policy_mgr_get_dfs_master_dynamic_enabled(
hdd_ctx->psoc, adapter->vdev_id))
ignoreCAC = true;
/* DFS requirement: DO NOT transmit during CAC. */
if (CHANNEL_STATE_DFS !=