OSDN Git Service

staging:rtl8192u: Rename bit definition ISR_TxBcnOk - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Wed, 25 Jul 2018 22:16:23 +0000 (23:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jul 2018 08:11:44 +0000 (10:11 +0200)
Rename the bit definition ISR_TxBcnOk to ISR_TX_BCN_OK. This change
clears the checkpatch issue with CamelCase naming. The change is 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 8067210..dee3180 100644 (file)
@@ -249,7 +249,7 @@ static void cmpk_handle_interrupt_status(struct net_device *dev, u8 *pmsg)
                DMESG("interrupt status = 0x%x\n",
                      rx_intr_status.interrupt_status);
 
-               if (rx_intr_status.interrupt_status & ISR_TxBcnOk) {
+               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) {
index 85fb49c..5de6d8f 100644 (file)
@@ -10,7 +10,7 @@
 #define                CMPK_TX_RAHIS_SIZE              sizeof(cmpk_tx_rahis_t)
 
 /* 2008/05/08 amy For USB constant. */
-#define ISR_TxBcnOk            BIT(27)         /* Transmit Beacon OK */
+#define ISR_TX_BCN_OK          BIT(27)         /* Transmit Beacon OK */
 #define ISR_TxBcnErr           BIT(26)         /* Transmit Beacon Error */
 #define ISR_BcnTimerIntr       BIT(13)         /* Beacon Timer Interrupt */