|
@@ -130,7 +130,7 @@ QDF_STATUS wlan_dcs_cmd_send(struct wlan_objmgr_psoc *psoc,
|
|
|
dcs_pdev_priv->dcs_host_params.dcs_enable_cfg;
|
|
|
dcs_tx_ops = target_if_dcs_get_tx_ops(psoc);
|
|
|
|
|
|
- if (dcs_tx_ops->dcs_cmd_send) {
|
|
|
+ if (dcs_tx_ops && dcs_tx_ops->dcs_cmd_send) {
|
|
|
dcs_info("dcs_enable: %u, pdev_id: %u", dcs_enable, pdev_id);
|
|
|
return dcs_tx_ops->dcs_cmd_send(psoc,
|
|
|
pdev_id,
|