qcacld-3.0: Remove wma_update_intf_hw_mode_params from vdev start rsp
The Tx & Rx SS & mac id update already been done by wma_vdev_start_resp_handler. So, no need to update again by calling wma_update_intf_hw_mode_params. Change-Id: Ib9804bf0d30c75d95b14925a902fe167fa681be0 CRs-fixed: 935341
This commit is contained in:

committed by
Prakash Dhavali

parent
2af79f7c44
commit
14bbceda68
@@ -662,13 +662,6 @@ static void wma_vdev_start_rsp(tp_wma_handle wma,
|
|||||||
add_bss->nss = 1;
|
add_bss->nss = 1;
|
||||||
}
|
}
|
||||||
add_bss->smpsMode = host_map_smps_mode(resp_event->smps_mode);
|
add_bss->smpsMode = host_map_smps_mode(resp_event->smps_mode);
|
||||||
if (WMA_DEFAULT_HW_MODE_INDEX == wma->new_hw_mode_index) {
|
|
||||||
WMA_LOGE("%s: Invalid index to update for vdev_id %d",
|
|
||||||
__func__, resp_event->vdev_id);
|
|
||||||
} else {
|
|
||||||
wma_update_intf_hw_mode_params(resp_event->vdev_id,
|
|
||||||
resp_event->mac_id, wma->new_hw_mode_index);
|
|
||||||
}
|
|
||||||
send_fail_resp:
|
send_fail_resp:
|
||||||
WMA_LOGD("%s: Sending add bss rsp to umac(vdev %d status %d)",
|
WMA_LOGD("%s: Sending add bss rsp to umac(vdev %d status %d)",
|
||||||
__func__, resp_event->vdev_id, add_bss->status);
|
__func__, resp_event->vdev_id, add_bss->status);
|
||||||
|
Reference in New Issue
Block a user