|
@@ -4591,7 +4591,11 @@ hdd_store_nss_chains_cfg_in_vdev(struct hdd_adapter *adapter)
|
|
|
hdd_ctx->num_rf_chains);
|
|
|
|
|
|
/* Store the nss chain config into the vdev */
|
|
|
- sme_store_nss_chains_cfg_in_vdev(adapter->vdev, &vdev_ini_cfg);
|
|
|
+ if (adapter->vdev)
|
|
|
+ sme_store_nss_chains_cfg_in_vdev(adapter->vdev, &vdev_ini_cfg);
|
|
|
+ else
|
|
|
+ hdd_err("Vdev is NULL");
|
|
|
+
|
|
|
}
|
|
|
|
|
|
bool hdd_is_vdev_in_conn_state(struct hdd_adapter *adapter)
|