staging: rtl8723au: rtw_sreset.h: Use BIT() instead of BITx
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:03:42 +0000 (10:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:20 +0000 (11:34 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/rtw_sreset.h

index 4c523722dd14fcfc7f70621f542ae66e54a8000b..91d57e2791d917b7ae934b76bfbc05e24c069d49 100644 (file)
@@ -36,14 +36,14 @@ struct sreset_priv {
 
 #include <rtl8723a_hal.h>
 
-#define        WIFI_STATUS_SUCCESS             0
-#define        USB_VEN_REQ_CMD_FAIL    BIT0
-#define        USB_READ_PORT_FAIL              BIT1
-#define        USB_WRITE_PORT_FAIL             BIT2
-#define        WIFI_MAC_TXDMA_ERROR    BIT3
-#define   WIFI_TX_HANG                         BIT4
-#define        WIFI_RX_HANG                            BIT5
-#define                WIFI_IF_NOT_EXIST                       BIT6
+#define        WIFI_STATUS_SUCCESS     0
+#define        USB_VEN_REQ_CMD_FAIL    BIT(0)
+#define        USB_READ_PORT_FAIL      BIT(1)
+#define        USB_WRITE_PORT_FAIL     BIT(2)
+#define        WIFI_MAC_TXDMA_ERROR    BIT(3)
+#define        WIFI_TX_HANG            BIT(4)
+#define        WIFI_RX_HANG            BIT(5)
+#define        WIFI_IF_NOT_EXIST       BIT(6)
 
 void sreset_init_value23a(struct rtw_adapter *padapter);
 void sreset_reset_value23a(struct rtw_adapter *padapter);