[PATCH] Fix crash on big-endian systems during scan
authorPavel Roskin <proski@gnu.org>
Mon, 17 Apr 2006 15:36:43 +0000 (11:36 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Apr 2006 19:20:22 +0000 (15:20 -0400)
commitdac322e39a2b82871cf514c9a533f24a1b4c7e19
treee64f39191f63e8c0dba6304890ad71b756e02990
parent6b426e785cb81e53dc2fc4dcf997661472b470ef
[PATCH] Fix crash on big-endian systems during scan

The original code was doing arithmetics on a little-endian value.
Reported by Stelios Koroneos <stelios@stelioscellar.com>

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_ioctl.c