mwifiex: declare snap_type as __be16 variable
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 3 Dec 2013 07:17:49 +0000 (23:17 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Dec 2013 20:35:27 +0000 (15:35 -0500)
commita6efc5b7f8e737c8e7c97b3c671ae211c5ece3d8
tree19cda130c4c7ef0fdc6648d9f31861f2bcf3bffb
parent4348d085b8ef9067e32ccc1a9e90e33c0e4b4e66
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>
drivers/net/wireless/mwifiex/11n_aggr.c
drivers/net/wireless/mwifiex/fw.h