diff options
author | Xenia Ragiadakou <burzalodowa@gmail.com> | 2013-10-10 10:43:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-11 15:42:53 -0700 |
commit | 8f519cad49ae956787b6e5ee963b91f9601bee6a (patch) | |
tree | d0b3d0cf013b46b4930743c542b52d16f519441f | |
parent | aa0cb59cfa781d5cb44dd981153d67168d34f91b (diff) |
staging: rtl8192u: add space after } and , in r819xU_cmdpkt.h
This patch fixes white space after } and , so that the code becomes more
readable and conforms to the linux kernel coding style.
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8192u/r819xU_cmdpkt.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.h b/drivers/staging/rtl8192u/r819xU_cmdpkt.h index c79878af7021..09030fd1b5ba 100644 --- a/drivers/staging/rtl8192u/r819xU_cmdpkt.h +++ b/drivers/staging/rtl8192u/r819xU_cmdpkt.h @@ -52,7 +52,7 @@ typedef struct tag_cmd_pkt_tx_feedback { // DWORD 5 u16 reserve3; /* */ u16 duration; /* */ -}cmpk_txfb_t; +} cmpk_txfb_t; /* 2. RX side: Interrupt status packet. It includes Beacon State, Beacon Timer Interrupt and other useful informations in MAC ISR Reg. */ @@ -61,7 +61,7 @@ typedef struct tag_cmd_pkt_interrupt_status { u8 length; /* Command packet length. */ u16 reserve; u32 interrupt_status; /* Interrupt Status. */ -}cmpk_intr_sta_t; +} cmpk_intr_sta_t; /* 3. TX side: Set configuration packet. */ @@ -79,7 +79,7 @@ typedef struct tag_cmd_pkt_set_configuration { u8 cfg_offset; /* Configuration info. */ u32 value; /* */ u32 mask; /* */ -}cmpk_set_cfg_t; +} cmpk_set_cfg_t; /* 4. Both side : TX/RX query configuraton packet. The query structure is the same as set configuration. */ @@ -122,7 +122,7 @@ typedef struct tag_tx_stats_feedback { // PJ quick rxcmd 09042007 u16 reserve3_23; u8 reserve3_1; u8 rate; -}__attribute__((packed)) cmpk_tx_status_t; +} __attribute__((packed)) cmpk_tx_status_t; /* 6. Debug feedback message. */ /* 2007/10/23 MH Define RX debug message */ @@ -136,7 +136,7 @@ typedef struct tag_rx_debug_message_feedback { // DW 1-?? // Variable debug message. -}cmpk_rx_dbginfo_t; +} cmpk_rx_dbginfo_t; /* 2008/03/20 MH Define transmit rate history. For big endian format. */ typedef struct tag_tx_rate_history { @@ -170,7 +170,7 @@ typedef struct tag_tx_rate_history { // DW 31-38 BW=1 SG=1 u16 ht_mcs[4][16]; -}__attribute__((packed)) cmpk_tx_rahis_t; +} __attribute__((packed)) cmpk_tx_rahis_t; typedef enum tag_command_packet_directories { @@ -183,14 +183,14 @@ typedef enum tag_command_packet_directories RX_TX_PER_PKT_FEEDBACK = 6, RX_TX_RATE_HISTORY = 7, RX_CMD_ELE_MAX -}cmpk_element_e; +} cmpk_element_e; typedef enum _rt_status{ RT_STATUS_SUCCESS, RT_STATUS_FAILURE, RT_STATUS_PENDING, RT_STATUS_RESOURCE -}rt_status,*prt_status; +} rt_status, *prt_status; extern u32 cmpk_message_handle_rx(struct net_device *dev, struct ieee80211_rx_stats *pstats); extern rt_status SendTxCommandPacket( struct net_device *dev, void *pData, u32 DataLen); |