Browse Source

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
Tushnim Bhattacharyya 9 years ago
parent
commit
23168e484b
1 changed files with 0 additions and 7 deletions
  1. 0 7
      core/wma/src/wma_dev_if.c

+ 0 - 7
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);