OSDN Git Service

staging:rtl8192u: Rename ISR_TxBcnErr bit definition - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Wed, 25 Jul 2018 22:16:25 +0000 (23:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jul 2018 08:11:46 +0000 (10:11 +0200)
Rename the bit definition ISR_TxBcnErr to ISR_TX_BCN_ERR. This change
clears the checkpatch issue with CamelCase naming. The change is purely
a coding style change which should not impact runtime code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_cmdpkt.c
drivers/staging/rtl8192u/r819xU_cmdpkt.h

index dee3180..5eebadb 100644 (file)
@@ -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++;
                }
index 5de6d8f..06f5701 100644 (file)
@@ -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 */