From 14bbceda681dbf56dab84f5b5da75f0b46eee9a1 Mon Sep 17 00:00:00 2001 From: Tushnim Bhattacharyya Date: Wed, 4 Nov 2015 14:30:43 -0800 Subject: [PATCH] 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 --- core/wma/src/wma_dev_if.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/wma/src/wma_dev_if.c b/core/wma/src/wma_dev_if.c index 925fcdb98b19..79e17be2c54c 100644 --- a/core/wma/src/wma_dev_if.c +++ b/core/wma/src/wma_dev_if.c @@ -662,13 +662,6 @@ static void wma_vdev_start_rsp(tp_wma_handle wma, add_bss->nss = 1; } 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: WMA_LOGD("%s: Sending add bss rsp to umac(vdev %d status %d)", __func__, resp_event->vdev_id, add_bss->status);