mwifiex: Add missing endian conversion.
authorTomasz Moń <desowin@gmail.com>
Tue, 23 Jul 2013 05:42:49 +0000 (07:42 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Jul 2013 20:59:01 +0000 (16:59 -0400)
commit83e612f632c3897be29ef02e0472f6d63e258378
tree340711f2d9d07c6562f6d3c95b9a5605c51df1d2
parent23d412a2e94f55b84dbf9d5e64f381677bc90575
mwifiex: Add missing endian conversion.

Both type and pkt_len variables are in host endian and these should be in
Little Endian in the payload.

Signed-off-by: Tomasz Moń <desowin@gmail.com>
Acked-by: Bing Zhao <bzhao@marvell.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sdio.c