From 6bec54efb758ef72f6c6356f2eea01550be7cd66 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Sat, 20 Jul 2013 11:08:13 -0500 Subject: [PATCH] rtl8188eu: Remove CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR This symbol is not defined. Signed-off-by: Larry Finger --- hal/usb_halinit.c | 14 -------------- hal/usb_ops_linux.c | 3 --- include/autoconf.h | 1 - 3 files changed, 18 deletions(-) diff --git a/hal/usb_halinit.c b/hal/usb_halinit.c index bc7e591..e5f6794 100644 --- a/hal/usb_halinit.c +++ b/hal/usb_halinit.c @@ -2249,11 +2249,6 @@ static void hw_var_set_opmode(PADAPTER Adapter, u8 variable, u8* val) rtw_write8(Adapter, REG_DRVERLYINT, 0x05);/* restore early int time to 5ms */ UpdateInterruptMask8188EU(Adapter,true, 0, IMR_BCNDMAINT0_88E); #endif/* CONFIG_INTERRUPT_BASED_TXBCN_EARLY_INT */ - - #ifdef CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR - UpdateInterruptMask8188EU(Adapter,true ,0, (IMR_TBDER_88E|IMR_TBDOK_88E)); - #endif /* CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR */ - #endif /* CONFIG_INTERRUPT_BASED_TXBCN */ StopTxBeacon(Adapter); } @@ -2272,11 +2267,6 @@ static void hw_var_set_opmode(PADAPTER Adapter, u8 variable, u8* val) #ifdef CONFIG_INTERRUPT_BASED_TXBCN_EARLY_INT UpdateInterruptMask8188EU(Adapter,true ,IMR_BCNDMAINT0_88E, 0); #endif/* CONFIG_INTERRUPT_BASED_TXBCN_EARLY_INT */ - - #ifdef CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR - UpdateInterruptMask8188EU(Adapter,true ,(IMR_TBDER_88E|IMR_TBDOK_88E), 0); - #endif/* CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR */ - #endif /* CONFIG_INTERRUPT_BASED_TXBCN */ @@ -2307,11 +2297,7 @@ static void hw_var_set_opmode(PADAPTER Adapter, u8 variable, u8* val) /* enable BCN0 Function for if1 */ /* don't enable update TSF0 for if1 (due to TSF update when beacon/probe rsp are received) */ - #if defined(CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR) - rtw_write8(Adapter, REG_BCN_CTRL, (DIS_TSF_UDT0_NORMAL_CHIP|EN_BCN_FUNCTION | EN_TXBCN_RPT|BIT(1))); - #else rtw_write8(Adapter, REG_BCN_CTRL, (DIS_TSF_UDT0_NORMAL_CHIP|EN_BCN_FUNCTION |BIT(1))); - #endif /* dis BCN1 ATIM WND if if2 is station */ rtw_write8(Adapter, REG_BCN_CTRL_1, rtw_read8(Adapter, REG_BCN_CTRL_1)|BIT(0)); diff --git a/hal/usb_ops_linux.c b/hal/usb_ops_linux.c index 3227157..6cb5ad7 100644 --- a/hal/usb_ops_linux.c +++ b/hal/usb_ops_linux.c @@ -370,9 +370,6 @@ static void interrupt_handler_8188eu(_adapter *padapter,u16 pkt_len,u8 *pbuf) #ifdef CONFIG_INTERRUPT_BASED_TXBCN_EARLY_INT if (pHalData->IntArray[0] & IMR_BCNDMAINT0_88E) #endif - #ifdef CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR - if (pHalData->IntArray[0] & (IMR_TBDER_88E|IMR_TBDOK_88E)) - #endif { struct mlme_priv *pmlmepriv = &padapter->mlmepriv; diff --git a/include/autoconf.h b/include/autoconf.h index 77386e3..03e731f 100644 --- a/include/autoconf.h +++ b/include/autoconf.h @@ -53,7 +53,6 @@ #define CONFIG_AP_MODE #ifdef CONFIG_AP_MODE #ifdef CONFIG_INTERRUPT_BASED_TXBCN - #define CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR #endif #endif