aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/fw.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2012-08-03 21:06:02 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-08-06 15:12:48 -0400
commited1ea6f42ecedbbb3a8c4e0211ad683b8680eebe (patch)
tree52af734fde8e23ba896d788deb56aec5218cb59e /drivers/net/wireless/mwifiex/fw.h
parentbda1b1b77918ea340bbfb2938a0fd7d5203e430c (diff)
mwifiex: do le_to_cpu conversion for Rx packet header elements
We do similar conversion for Tx packet header but it was missing for Rx packet header. Without this fix, Rx packet header won't be correctly parsed on big endian platform. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Kiran Divekar <dkiran@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r--drivers/net/wireless/mwifiex/fw.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h
index e831b440a24a..a0222ec1cc38 100644
--- a/drivers/net/wireless/mwifiex/fw.h
+++ b/drivers/net/wireless/mwifiex/fw.h
@@ -424,10 +424,10 @@ struct txpd {
424struct rxpd { 424struct rxpd {
425 u8 bss_type; 425 u8 bss_type;
426 u8 bss_num; 426 u8 bss_num;
427 u16 rx_pkt_length; 427 __le16 rx_pkt_length;
428 u16 rx_pkt_offset; 428 __le16 rx_pkt_offset;
429 u16 rx_pkt_type; 429 __le16 rx_pkt_type;
430 u16 seq_num; 430 __le16 seq_num;
431 u8 priority; 431 u8 priority;
432 u8 rx_rate; 432 u8 rx_rate;
433 s8 snr; 433 s8 snr;