staging: rtl8723au: rtw_sreset.h: Use BIT() instead of BITx

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jes Sorensen 2014-05-16 10:03:42 +02:00 committed by Greg Kroah-Hartman
parent e478c1f52d
commit 68c9da90fe

View file

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