mwifiex: fix version display problem on big endian platforms
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 7 Nov 2014 10:14:52 +0000 (02:14 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Nov 2014 21:31:15 +0000 (16:31 -0500)
commit0d4b5c7c0892cb377cc71c388433425f598b902b
tree8c97e2e6c94647f94e80ca0dc9e3e4b689bda714
parent3f2aa13f6d16a53a4cf5de369c685c6f75fe4d58
mwifiex: fix version display problem on big endian platforms

It's been observed that wrong firmware version (ex. 66.14.96.p9
instead of 14.66.9.p96) is displayed on big endian platforms.

The problem is fixed here.

Reported-by: Daniel Mosquera <daniel.mosquera@ctag.com>
Tested-by: Daniel Mosquera <daniel.mosquera@ctag.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sta_ioctl.c