linux/drivers/staging/wlan-ng
Aviya Erenfeld 802d7d0bf2 staging: wlan-ng: Avoid bogus endianness
The linkstatus variable in the info struct received as __le16
but handled in every other place in the driver as u16

Fix that and remove the sparse warning that occurred due to it:
prism2sta.c:1450:29: warning: incorrect type in assignment (different base types)
prism2sta.c:1450:29:    expected unsigned short [unsigned] [usertype] link_status_new
prism2sta.c:1450:29:    got restricted __le16 [usertype] linkstatus

Signed-off-by: Aviya Erenfeld <aviyae42@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-17 16:35:28 +02:00
..
cfg80211.c cfg80211: unify cfg80211_roamed() and cfg80211_roamed_bss() 2017-04-28 12:28:44 +02:00
hfa384x_usb.c staging: wlan-ng: hfa384x_usb: Fix multiple line dereference 2017-08-20 11:10:23 -07:00
hfa384x.h staging: wlan-ng: hfa384x.h: Use endian type in 'hfa384x_link_status' struct 2017-08-18 15:57:17 -07:00
Kconfig
Makefile
p80211conv.c drivers/staging/wlan-ng/p80211conv.c: fixed a potential memory leak 2017-08-18 15:57:17 -07:00
p80211conv.h staging: wlan-ng: add byte order annotation to struct p80211_caphdr 2017-03-09 19:06:36 +01:00
p80211hdr.h staging: wlan-ng: use GENMASK macro in different defines of p80211hdr.h 2016-11-14 15:43:20 +01:00
p80211ioctl.h staging: wlan-ng: fix block comments style in p80211ioctl.h 2016-10-16 10:25:50 +02:00
p80211metadef.h staging: wlan-ng: fix block comments style in p80211metadef.h 2016-10-16 10:25:52 +02:00
p80211metastruct.h staging: wlan-ng: avoid new typedef: p80211item_unk4096_t 2016-09-25 19:54:01 +02:00
p80211mgmt.h staging: wlan-ng: fix block comments style in p80211mgmt.h 2016-10-16 10:25:52 +02:00
p80211msg.h staging: wlan-ng: fix block comments style in p80211msg.h 2016-10-16 10:25:53 +02:00
p80211netdev.c Staging: wlan-ng: Fixing coding style warnings 2017-07-30 08:17:53 -07:00
p80211netdev.h staging: wlan-ng: use GENMASK macro in define of p80211netdev.h 2016-11-14 15:43:19 +01:00
p80211req.c staging: wlan-ng: break long line in p80211req.c 2017-04-28 12:03:51 +02:00
p80211req.h staging: wlan-ng: fix block comments style in p80211req.h 2016-10-16 10:25:55 +02:00
p80211types.h staging: wlan-ng: fix block comments style errors 2016-09-25 19:54:45 +02:00
p80211wep.c staging: wlan-ng: remove unnecessary blank lines in p80211wep.c 2016-11-10 13:25:33 +01:00
prism2fw.c Staging: wlan-ng: Fixing coding style warnings 2017-07-30 08:17:53 -07:00
prism2mgmt.c staging: wlan-ng: Fix struct definition's and variable type 2017-06-23 19:37:38 +02:00
prism2mgmt.h staging: wlan-ng: fix block comments style in prism2mgmt.h 2016-10-16 10:25:56 +02:00
prism2mib.c staging: wlan-ng: prism2mib.c: Fix type cast issues 2017-06-14 12:26:41 +02:00
prism2sta.c staging: wlan-ng: Avoid bogus endianness 2017-09-17 16:35:28 +02:00
prism2usb.c staging: wlang-ng: avoid new typedef: hfa384x_t 2016-10-02 17:05:56 +02:00
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.