From 2e6130080ef33b1eb4d26d519ea416278ae01bc4 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 22 Jul 2013 15:52:08 -0500 Subject: [PATCH] rtl8188eu: Remove CONFIG_USB_AUTOSUSPEND - not defined Signed-off-by: Larry Finger --- Makefile | 6 ------ os_dep/os_intfs.c | 4 ---- 2 files changed, 10 deletions(-) diff --git a/Makefile b/Makefile index 3e9c9fa..5ffe4df 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,6 @@ CONFIG_RTL8188E = y CONFIG_USB_HCI = y -CONFIG_USB_AUTOSUSPEND = n CONFIG_BT_COEXIST = n CONFIG_WOWLAN = n @@ -90,11 +89,6 @@ ifeq ($(CONFIG_AUTOCFG_CP), y) $(shell cp $(TopDIR)/autoconf_rtl8188e_usb_linux.h $(TopDIR)/include/autoconf.h) endif - -ifeq ($(CONFIG_USB_AUTOSUSPEND), y) -EXTRA_CFLAGS += -DCONFIG_USB_AUTOSUSPEND -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 af23880..9c1e6b9 100644 --- a/os_dep/os_intfs.c +++ b/os_dep/os_intfs.c @@ -110,11 +110,7 @@ static int rtw_AcceptAddbaReq = true;// 0:Reject AP's Add BA req, 1:Accept AP's static int rtw_antdiv_cfg = 2; // 0:OFF , 1:ON, 2:decide by Efuse config static int rtw_antdiv_type = 0 ; //0:decide by efuse 1: for 88EE, 1Tx and 1RxCG are diversity.(2 Ant with SPDT), 2: for 88EE, 1Tx and 2Rx are diversity.( 2 Ant, Tx and RxCG are both on aux port, RxCS is on main port ), 3: for 88EE, 1Tx and 1RxCG are fixed.(1Ant, Tx and RxCG are both on aux port) -#ifdef CONFIG_USB_AUTOSUSPEND -static int rtw_enusbss = 1;//0:disable,1:enable -#else static int rtw_enusbss = 0;//0:disable,1:enable -#endif static int rtw_hwpdn_mode=2;//0:disable,1:enable,2: by EFUSE config