mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Return success from dynamic nss chain support check for 1x1
In api hdd_update_nss(), when unit test command 'iwpriv wlan0 nss 1' is used in 1x1 mode, the fail status is returned resulting in test case failure. Return a success status in api hdd_update_nss() for 1x1 mode resulting successful execution of test case. Change-Id: Id482c2686b48a0b6cdd41980c4eb4424da775ad0 CRs-Fixed: 3195517
This commit is contained in:
parent
6ad52e5a38
commit
7bd1115b69
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
* above copyright notice and this permission notice appear in all
|
||||
|
|
@ -1157,7 +1157,7 @@ QDF_STATUS hdd_update_nss(struct hdd_adapter *adapter, uint8_t tx_nss,
|
|||
adapter->vdev_id);
|
||||
if (!bval) {
|
||||
hdd_err("Nss in 1x1, no change required, 2x2 mode disabled");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
for (band = NSS_CHAINS_BAND_2GHZ; band < NSS_CHAINS_BAND_MAX;
|
||||
|
|
|
|||
Loading…
Reference in a new issue