From 0f3cea8ee8d7e36d342efe396d3ea0912ec090ed Mon Sep 17 00:00:00 2001 From: Pragaspathi Thilagaraj Date: Fri, 11 Jan 2019 14:39:32 +0530 Subject: [PATCH] qcacld-3.0: Remove call to hdd_napi_serialize during roam start With LFR3, in host roaming state machine, the host driver invokes hdd_napi_serialize to call core_ctl_set_boost, twice- once during roam start and second time during SIR_ROAM_DEREGISTER_STA. But driver releases the boost only once after roam sync is complete. This results in the reference count for boost incremented twice but decremented once. This results in power and performance issues. Dont invoke hdd_napi_serialize when hdd_sme_roam_callback() roam status is eCSR_ROAM_START. Change-Id: Iabe20624ec5f7a5249a82c5120dfd1bb02bf5835 CRs-Fixed: 2377951 --- core/hdd/src/wlan_hdd_assoc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index 0bc26a177871..ee19304a2078 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -4932,7 +4932,6 @@ hdd_sme_roam_callback(void *pContext, struct csr_roam_info *roam_info, wlan_hdd_netif_queue_control(adapter, WLAN_STOP_ALL_NETIF_QUEUE, WLAN_CONTROL_PATH); - hdd_napi_serialize(1); hdd_set_connection_in_progress(true); hdd_set_roaming_in_progress(true); policy_mgr_restart_opportunistic_timer(hdd_ctx->psoc, true);