qcacld-3.0: Enable bw computer on all MSM platform

In STA mode bw computer function is under INCSS/CNSS,
add Fix to enable bw computer on all MSM platform

Change-Id: Ic7218d637da4ce06349906b014c7bb82bf8f1d63
CRs-Fixed: 2159745
This commit is contained in:
Tang Yingying
2018-01-05 11:28:32 +08:00
committed by snandini
parent f2e213b322
commit ae0dac16d1

View File

@@ -1321,7 +1321,6 @@ static void hdd_send_association_event(struct net_device *dev,
adapter->hdd_vdev);
#ifdef MSM_PLATFORM
#if defined(CONFIG_ICNSS) || defined(CONFIG_CNSS)
/* start timer in sta/p2p_cli */
spin_lock_bh(&hdd_ctx->bus_bw_lock);
adapter->prev_tx_packets = adapter->stats.tx_packets;
@@ -1332,7 +1331,6 @@ static void hdd_send_association_event(struct net_device *dev,
&adapter->prev_fwd_rx_packets);
spin_unlock_bh(&hdd_ctx->bus_bw_lock);
hdd_bus_bw_compute_timer_start(hdd_ctx);
#endif
#endif
} else if (eConnectionState_IbssConnected == /* IBss Associated */
sta_ctx->conn_info.connState) {