mwifiex: fix scan problem on big endian platforms
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 25 Nov 2014 14:43:03 +0000 (06:43 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Nov 2014 19:09:56 +0000 (14:09 -0500)
commit798ea8eec16d33e0553b6be7175a23e8ddf60eee
tree25fa5299f6807ad234403de4d670d9a126b05e5c
parent51974611154038f1aaf6ce843bdc6445d5684ee3
mwifiex: fix scan problem on big endian platforms

This patch adds missing endian conversion for beacon size while
processing scan response.

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