aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-03-01 10:22:30 +0300
committerJohn W. Linville <linville@tuxdriver.com>2012-03-05 15:24:14 -0500
commit380aeef8941c6b8a3e8de86b5ca000ca986e3b17 (patch)
treee9c9d9a9e4ca14bfae3794f4ba139043c5af4a29 /usr
parent62ebeed8d00aef75eac4fd6c161cae75a41965ca (diff)
downloadkernel_goldelico_gta04-380aeef8941c6b8a3e8de86b5ca000ca986e3b17.zip
kernel_goldelico_gta04-380aeef8941c6b8a3e8de86b5ca000ca986e3b17.tar.gz
kernel_goldelico_gta04-380aeef8941c6b8a3e8de86b5ca000ca986e3b17.tar.bz2
mwifiex: endian bug in mwifiex_drv_change_adhoc_chan()
In mwifiex_drv_change_adhoc_chan() we pass channel to mwifiex_bss_ioctl_ibss_channel() which sets the high 16 bits. This works on little endian systems but not on big endian ones. I've changed mwifiex_drv_change_adhoc_chan() to use a 16 bit variable. This matches the other functions in the file. I considered changing mwifiex_change_adhoc_chan() as well but it turns out that the function isn't implemented so I just removed the definition. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions