From: Xenia Ragiadakou Date: Thu, 10 Oct 2013 07:43:53 +0000 (+0300) Subject: staging: rtl8192u: fix alignment in r819xU_cmdpkt.h X-Git-Tag: v3.13-rc1~170^2~325 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=feada066c851a45e63e6aeeabada5605bde0af66;p=kernel%2Fkernel-generic.git staging: rtl8192u: fix alignment in r819xU_cmdpkt.h This patch fixes alignment issues in r819xU_cmdpkt.h to improve code readability. Signed-off-by: Xenia Ragiadakou Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.h b/drivers/staging/rtl8192u/r819xU_cmdpkt.h index 7ec8df0..9a7b6f6e 100644 --- a/drivers/staging/rtl8192u/r819xU_cmdpkt.h +++ b/drivers/staging/rtl8192u/r819xU_cmdpkt.h @@ -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);