]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4efd00893f688947713ad95ba8514a48571e003
treebbec356fdc589446427d1c37ec5131fe52cd86fb
parent1374034c6f60520731dfb01903a904b29a9ef072
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