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
This commit is contained in:
Pragaspathi Thilagaraj 2019-01-11 14:39:32 +05:30 committed by nshrivas
parent 783f09bcb4
commit 0f3cea8ee8

View File

@ -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);