staging: rtl8192u: fix alignment in r819xU_cmdpkt.h
authorXenia Ragiadakou <burzalodowa@gmail.com>
Thu, 10 Oct 2013 07:43:53 +0000 (10:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:42:53 +0000 (15:42 -0700)
This patch fixes alignment issues in r819xU_cmdpkt.h to improve code
readability.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_cmdpkt.h

index 7ec8df0e0ec81f8a307bf88ed3afc6878a3ff8a4..9a7b6f6e86bee32eb8f7bdf8216251f5805d52eb 100644 (file)
@@ -104,7 +104,7 @@ typedef struct tag_tx_stats_feedback {
        u16     txretry;                        /* Tx retry count */
 
        /* DW 3 */
-       u16  txucok;                            /* Tx unicast */
+       u16     txucok;                         /* Tx unicast */
        u16     txbcok;                         /* Tx broadcast */
 
        /* DW 4 */
@@ -165,11 +165,11 @@ typedef struct tag_tx_rate_history {
 
 typedef enum tag_command_packet_directories
 {
-       RX_TX_FEEDBACK = 0,
+       RX_TX_FEEDBACK                  = 0,
        RX_INTERRUPT_STATUS             = 1,
-       TX_SET_CONFIG                           = 2,
-       BOTH_QUERY_CONFIG                       = 3,
-       RX_TX_STATUS                            = 4,
+       TX_SET_CONFIG                   = 2,
+       BOTH_QUERY_CONFIG               = 3,
+       RX_TX_STATUS                    = 4,
        RX_DBGINFO_FEEDBACK             = 5,
        RX_TX_PER_PKT_FEEDBACK          = 6,
        RX_TX_RATE_HISTORY              = 7,
@@ -183,7 +183,7 @@ typedef enum _rt_status{
        RT_STATUS_RESOURCE
 } rt_status, *prt_status;
 
-extern  u32 cmpk_message_handle_rx(struct net_device *dev,
+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);
This page took 0.028616 seconds and 5 git commands to generate.