alistair23-linux/drivers/staging/wlan-ng
Andrea della Porta dea20579a6 staging: wlan-ng: prism2mgmt.c: fixed a double endian conversion before calling hfa384x_drvr_setconfig16, also fixes relative sparse warning
staging: wlan-ng: prism2mgmt.c: This patches fixes a double endian conversion.
cpu_to_le16() was called twice first in prism2mgmt_scan and again inside
hfa384x_drvr_setconfig16() for the same variable, hence it was swapped
twice. Incidentally, it also fixed the following sparse warning:

drivers/staging/wlan-ng/prism2mgmt.c:173:30: warning: incorrect type in assignment (different base types)
drivers/staging/wlan-ng/prism2mgmt.c:173:30:    expected unsigned short [unsigned] [usertype] word
drivers/staging/wlan-ng/prism2mgmt.c:173:30:    got restricted __le16 [usertype] <noident>

Unfortunately, only compile tested.

Signed-off-by: Andrea della Porta <sfaragnaus@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-15 07:43:55 +02:00
..
cfg80211.c cfg80211: unify cfg80211_roamed() and cfg80211_roamed_bss() 2017-04-28 12:28:44 +02:00
hfa384x.h staging wlan-ng: fix type mismatch warnings in mkpdrlist() 2017-04-08 16:54:17 +02:00
hfa384x_usb.c Staging: wlan-ng: Fix endian error 2017-03-12 15:17:02 +01:00
Kconfig
Makefile
p80211conv.c staging: wlan-ng: remove extra parentheses 2017-03-06 09:16:59 +01:00
p80211conv.h staging: wlan-ng: add byte order annotation to struct p80211_caphdr 2017-03-09 19:06:36 +01:00
p80211hdr.h
p80211ioctl.h
p80211metadef.h
p80211metastruct.h
p80211mgmt.h
p80211msg.h
p80211netdev.c staging/iio driver patches for 4.11-rc1 2017-02-22 12:14:01 -08:00
p80211netdev.h
p80211req.c staging: wlan-ng: break long line in p80211req.c 2017-04-28 12:03:51 +02:00
p80211req.h
p80211types.h
p80211wep.c
prism2fw.c staging wlan-ng: fix type mismatch warnings in mkpdrlist() 2017-04-08 16:54:17 +02:00
prism2mgmt.c staging: wlan-ng: prism2mgmt.c: fixed a double endian conversion before calling hfa384x_drvr_setconfig16, also fixes relative sparse warning 2017-05-15 07:43:55 +02:00
prism2mgmt.h
prism2mib.c staging: wlan-ng: remove space before tab 2017-02-16 10:16:55 -08:00
prism2sta.c staging: wlan-ng: Replace "the the " with "the" 2017-03-07 20:15:18 +01:00
prism2usb.c
README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- move to use the in-kernel wireless stack

Please send any patches or complaints about this driver to Greg
Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless
kernel developers about it, they want nothing to do with it.