mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Fix assert in sme_store_nss_chains_cfg
Need check whether vdev is NULL when pass to sme_store_nss_chains_cfg. Change-Id: I1bfa62c8a898ad28e7771e27583e5775d515924a CRs-Fixed: 2597475
This commit is contained in:
parent
bd56706c77
commit
62de00823d
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue