diff --git a/Makefile b/Makefile index 1b927fc..ec672d1 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,6 @@ CONFIG_USB_HCI = y CONFIG_POWER_SAVING = y CONFIG_USB_AUTOSUSPEND = n -CONFIG_HW_PWRP_DETECTION = n CONFIG_BT_COEXIST = n CONFIG_WOWLAN = n @@ -101,10 +100,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 d256066..f7cd8ae 100644 --- a/os_dep/os_intfs.c +++ b/os_dep/os_intfs.c @@ -123,11 +123,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;