diff --git a/Makefile b/Makefile index ec672d1..3e9c9fa 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,6 @@ CONFIG_RTL8188E = y CONFIG_USB_HCI = y -CONFIG_POWER_SAVING = y CONFIG_USB_AUTOSUSPEND = n CONFIG_BT_COEXIST = n CONFIG_WOWLAN = n @@ -96,10 +95,6 @@ ifeq ($(CONFIG_USB_AUTOSUSPEND), y) EXTRA_CFLAGS += -DCONFIG_USB_AUTOSUSPEND endif -ifeq ($(CONFIG_POWER_SAVING), y) -EXTRA_CFLAGS += -DCONFIG_POWER_SAVING -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 ab9ebdb..af23880 100644 --- a/os_dep/os_intfs.c +++ b/os_dep/os_intfs.c @@ -53,13 +53,8 @@ static int rtw_preamble = PREAMBLE_LONG;//long, short, auto static int rtw_scan_mode = 1;//active, passive static int rtw_adhoc_tx_pwr = 1; static int rtw_soft_ap = 0; -#ifdef CONFIG_POWER_SAVING static int rtw_power_mgnt = 1; static int rtw_ips_mode = IPS_NORMAL; -#else -static int rtw_power_mgnt = PS_MODE_ACTIVE; -static int rtw_ips_mode = IPS_NONE; -#endif static int rtw_smart_ps = 2;