summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/fw.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2013-12-02 23:17:49 -0800
committerJohn W. Linville <linville@tuxdriver.com>2013-12-09 15:35:27 -0500
commita6efc5b7f8e737c8e7c97b3c671ae211c5ece3d8 (patch)
tree19cda130c4c7ef0fdc6648d9f31861f2bcf3bffb /drivers/net/wireless/mwifiex/fw.h
parent4348d085b8ef9067e32ccc1a9e90e33c0e4b4e66 (diff)
downloadblackbird-op-linux-a6efc5b7f8e737c8e7c97b3c671ae211c5ece3d8.tar.gz
blackbird-op-linux-a6efc5b7f8e737c8e7c97b3c671ae211c5ece3d8.zip
mwifiex: declare snap_type as __be16 variable
Actually we are updating snap_type with h_proto (__be16 variable) in ethernet frame header. Hence endianness conversion is not required. Signed-off-by: Amitkumar Karwar <akarwar@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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h
index 6998413c8881..8fcb500fa09b 100644
--- a/drivers/net/wireless/mwifiex/fw.h
+++ b/drivers/net/wireless/mwifiex/fw.h
@@ -30,7 +30,7 @@ struct rfc_1042_hdr {
u8 llc_ssap;
u8 llc_ctrl;
u8 snap_oui[3];
- u16 snap_type;
+ __be16 snap_type;
};
struct rx_packet_hdr {
OpenPOWER on IntegriCloud