diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.c b/drivers/staging/rtl8192u/r819xU_cmdpkt.c index dee3180f02ba..5eebadbbf48d 100644 --- a/drivers/staging/rtl8192u/r819xU_cmdpkt.c +++ b/drivers/staging/rtl8192u/r819xU_cmdpkt.c @@ -252,7 +252,7 @@ static void cmpk_handle_interrupt_status(struct net_device *dev, u8 *pmsg) if (rx_intr_status.interrupt_status & ISR_TX_BCN_OK) { priv->ieee80211->bibsscoordinator = true; priv->stats.txbeaconokint++; - } else if (rx_intr_status.interrupt_status & ISR_TxBcnErr) { + } else if (rx_intr_status.interrupt_status & ISR_TX_BCN_ERR) { priv->ieee80211->bibsscoordinator = false; priv->stats.txbeaconerr++; } diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.h b/drivers/staging/rtl8192u/r819xU_cmdpkt.h index 5de6d8f4fd81..06f57016de2b 100644 --- a/drivers/staging/rtl8192u/r819xU_cmdpkt.h +++ b/drivers/staging/rtl8192u/r819xU_cmdpkt.h @@ -11,7 +11,7 @@ /* 2008/05/08 amy For USB constant. */ #define ISR_TX_BCN_OK BIT(27) /* Transmit Beacon OK */ -#define ISR_TxBcnErr BIT(26) /* Transmit Beacon Error */ +#define ISR_TX_BCN_ERR BIT(26) /* Transmit Beacon Error */ #define ISR_BcnTimerIntr BIT(13) /* Beacon Timer Interrupt */