mwifiex: Add missing endian conversion.
authorTomasz Moń <desowin@gmail.com>
Tue, 23 Jul 2013 05:42:49 +0000 (07:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 01:35:23 +0000 (18:35 -0700)
commit558c62c2c0883b3c4f58c3baff021856eb4cb95b
treecc4246fee41c750d9e70794b62e308320921b46a
parent5c2c155d709f5bd3e8c1e9defddf8d74b1677eb1
mwifiex: Add missing endian conversion.

commit 83e612f632c3897be29ef02e0472f6d63e258378 upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mwifiex/sdio.c