diff options
| author | 2012-03-01 10:22:30 +0300 | |
|---|---|---|
| committer | 2012-03-05 15:24:14 -0500 | |
| commit | 380aeef8941c6b8a3e8de86b5ca000ca986e3b17 (patch) | |
| tree | e9c9d9a9e4ca14bfae3794f4ba139043c5af4a29 /include/linux/debugobjects.h | |
| parent | p54spi: Release GPIO lines and IRQ on error in p54spi_probe (diff) | |
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
