qcacld-3.0: Fix the issue with Nss setting
Correct the typo in status check variable due to which Nss setting returns failure. Change-Id: I81a430b0482e79ee3b2d0b2c4e6aea232907919a CRs-Fixed: 2302465
This commit is contained in:

committed by
nshrivas

parent
94ce20f5a4
commit
3499dcb1f4
@@ -7885,7 +7885,7 @@ QDF_STATUS hdd_update_nss(struct hdd_adapter *adapter, uint8_t nss)
|
||||
}
|
||||
|
||||
qdf_status = ucfg_mlme_get_ht_cap_info(hdd_ctx->hdd_psoc, &ht_cap_info);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
||||
hdd_err("Failed to get HT Cap info");
|
||||
status = false;
|
||||
}
|
||||
@@ -7899,9 +7899,9 @@ QDF_STATUS hdd_update_nss(struct hdd_adapter *adapter, uint8_t nss)
|
||||
}
|
||||
|
||||
qdf_status = ucfg_mlme_set_ht_cap_info(hdd_ctx->hdd_psoc, ht_cap_info);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
||||
status = false;
|
||||
hdd_err("Could not pass on HT_CAP_INFO to CFG");
|
||||
hdd_err("Could not set the HT_CAP_INFO");
|
||||
}
|
||||
|
||||
sme_cfg_get_int(mac_handle, WNI_CFG_VHT_BASIC_MCS_SET, &temp);
|
||||
|
Reference in New Issue
Block a user