mwifiex: Add missing endian conversion.
authorTomasz Moń <desowin@gmail.com>
Tue, 23 Jul 2013 05:42:49 +0000 (07:42 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 10 Sep 2013 00:57:14 +0000 (01:57 +0100)
commit6d047ebfeb1e96641e65cb9bf7de132fc565c01e
treec5b5b424f33fab91736bc189081a8aa6d9aafcb4
parent708d8db1f9265dbc239338a26202fd2099b72337
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: Ben Hutchings <ben@decadent.org.uk>
drivers/net/wireless/mwifiex/sdio.c