ath10k: move napi_enable to hif_start for consistent pairing
authorGovind Singh <govinds@codeaurora.org>
Thu, 20 Sep 2018 05:04:25 +0000 (10:34 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 1 Oct 2018 14:04:23 +0000 (17:04 +0300)
commit752ed2a229c62f9301b9ab91d04048402fab6ff8
treebbec356fdc589446427d1c37ec5131fe52cd86fb
parent4600563f9319006782bdacef0dfff2f493202eb0
ath10k: move napi_enable to hif_start for consistent pairing

There is unbalanced napi_{enable,disable}() behavior as they
are being called from hif_snoc_{power_up/stop).

The fix is to call napi_enable() from ath10k_snoc_hif_start()
so that it matches with napi_disable() being called from
ath10k_snoc_hif_stop().

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/snoc.c