|
@@ -7823,8 +7823,8 @@ hdd_set_dynamic_antenna_mode(struct hdd_adapter *adapter,
|
|
|
qdf_mem_zero(&user_cfg, sizeof(user_cfg));
|
|
|
for (band = NSS_CHAINS_BAND_2GHZ; band < NSS_CHAINS_BAND_MAX; band++) {
|
|
|
status = hdd_populate_vdev_chains(&user_cfg,
|
|
|
- num_rx_chains,
|
|
|
- num_tx_chains, band, vdev);
|
|
|
+ num_tx_chains,
|
|
|
+ num_rx_chains, band, vdev);
|
|
|
if (QDF_IS_STATUS_ERROR(status)) {
|
|
|
hdd_objmgr_put_vdev_by_user(vdev, WLAN_OSIF_ID);
|
|
|
return -EINVAL;
|