diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 8c9608af283c..1ab42d63df82 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -2128,7 +2128,9 @@ bool hdd_dfs_indicate_radar(struct hdd_context *hdd_ctx) true; hdd_info("tx blocked for session: %d", adapter->session_id); - cdp_fc_vdev_flush(cds_get_context(QDF_MODULE_ID_SOC), + if (adapter->txrx_vdev) + cdp_fc_vdev_flush( + cds_get_context(QDF_MODULE_ID_SOC), adapter->txrx_vdev); } }