diff --git a/Makefile b/Makefile index bb523d5..4eb9f33 100755 --- a/Makefile +++ b/Makefile @@ -20,7 +20,6 @@ CONFIG_USB_HCI = y CONFIG_POWER_SAVING = y CONFIG_USB_AUTOSUSPEND = n -CONFIG_HW_PWRP_DETECTION = n CONFIG_BT_COEXIST = n CONFIG_INTEL_WIDI = n CONFIG_WAPI_SUPPORT = n @@ -102,10 +101,6 @@ ifeq ($(CONFIG_POWER_SAVING), y) EXTRA_CFLAGS += -DCONFIG_POWER_SAVING endif -ifeq ($(CONFIG_HW_PWRP_DETECTION), y) -EXTRA_CFLAGS += -DCONFIG_HW_PWRP_DETECTION -endif - ifeq ($(CONFIG_BT_COEXIST), y) EXTRA_CFLAGS += -DCONFIG_BT_COEXIST endif diff --git a/os_dep/os_intfs.c b/os_dep/os_intfs.c index bb377f9..44a055c 100755 --- a/os_dep/os_intfs.c +++ b/os_dep/os_intfs.c @@ -137,11 +137,7 @@ static int rtw_enusbss = 0;/* 0:disable,1:enable */ static int rtw_hwpdn_mode=2;/* 0:disable,1:enable,2: by EFUSE config */ -#ifdef CONFIG_HW_PWRP_DETECTION -static int rtw_hwpwrp_detect = 1; -#else static int rtw_hwpwrp_detect = 0; /* HW power ping detect 0:disable , 1:enable */ -#endif static int rtw_hw_wps_pbc = 1;