From d8ed961c7594adba0beb962ac76546c48ef3cbc4 Mon Sep 17 00:00:00 2001 From: dujeonglee Date: Fri, 22 Feb 2019 20:57:31 +0900 Subject: [PATCH] [RAMEN9610-12462][9610] fix not releasing hip4_wake_lock Signed-off-by: dujeonglee Disable napi Change-Id: I64e16669943c2f9eb82ade188ac96c0e39f61c4c --- drivers/net/wireless/scsc/Kconfig | 2 -- drivers/net/wireless/scsc/hip4.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/scsc/Kconfig b/drivers/net/wireless/scsc/Kconfig index fea095676678..fed59c0350dd 100644 --- a/drivers/net/wireless/scsc/Kconfig +++ b/drivers/net/wireless/scsc/Kconfig @@ -39,14 +39,12 @@ config SCSC_WLAN_SKB_TRACKING config SCSC_WLAN_RX_NAPI bool "Enable use of net device napi rx polling api" - default y ---help--- This option enables the drivers use of the napi api config SCSC_WLAN_RX_NAPI_GRO bool "Enable use of net device napi rx GRO" depends on SCSC_WLAN_RX_NAPI - default y ---help--- This option enables the drivers use of the napi Generic Receive Offload diff --git a/drivers/net/wireless/scsc/hip4.c b/drivers/net/wireless/scsc/hip4.c index 32df89dcf1d8..4f621534ab92 100755 --- a/drivers/net/wireless/scsc/hip4.c +++ b/drivers/net/wireless/scsc/hip4.c @@ -58,7 +58,7 @@ static bool hip4_smapper_is_enabled; #ifdef CONFIG_SCSC_WLAN_RX_NAPI /* run NAPI poll on a specific CPU (preferably a big CPU if online) */ -static int napi_select_cpu; /* CPU number */ +static int napi_select_cpu = 4; /* CPU number */ module_param(napi_select_cpu, int, 0644); MODULE_PARM_DESC(napi_select_cpu, "select a specific CPU to execute NAPI poll"); #endif -- 2.20.1