From ae0dac16d1be7a23a4edebccbf15179968a4f8b4 Mon Sep 17 00:00:00 2001 From: Tang Yingying Date: Fri, 5 Jan 2018 11:28:32 +0800 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_assoc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index c3deabdc79c5..bf5cf396d340 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -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) {