linux-kernel-test/drivers/staging/wlan-ng
Johannes Berg 80279fb7ba cfg80211: properly send NL80211_ATTR_DISCONNECTED_BY_AP in disconnect
When we disconnect from the AP, drivers call cfg80211_disconnect().
This doesn't know whether the disconnection was initiated locally
or by the AP though, which can cause problems with the supplicant,
for example with WPS. This issue obviously doesn't show up with any
mac80211 based driver since mac80211 doesn't call this function.

Fix this by requiring drivers to indicate whether the disconnect is
locally generated or not. I've tried to update the drivers, but may
not have gotten the values correct, and some drivers may currently
not be able to report correct values. In case of doubt I left it at
false, which is the current behaviour.

For libertas, make adjustments as indicated by Dan Williams.

Reported-by: Matthieu Mauger <matthieux.mauger@intel.com>
Tested-by: Matthieu Mauger <matthieux.mauger@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2015-05-26 15:21:27 +02:00
..
cfg80211.c cfg80211: properly send NL80211_ATTR_DISCONNECTED_BY_AP in disconnect 2015-05-26 15:21:27 +02:00
hfa384x_usb.c staging: wlan-ng: Use kzalloc instead of kmalloc. 2015-03-15 18:41:10 +01:00
hfa384x.h Staging: wlan-ng: Remove typedef prism2sta_accesslist_t 2015-03-23 22:41:16 +01:00
Kconfig
Makefile
p80211conv.c staging: wlan-ng: Fix typo in comments and printk 2015-01-17 16:10:48 -08:00
p80211conv.h
p80211hdr.h staging: wlan-ng: Fix incorrect type in assignments 2014-10-28 15:41:43 +08:00
p80211ioctl.h
p80211meta.h
p80211metadef.h
p80211metastruct.h
p80211mgmt.h
p80211msg.h
p80211netdev.c staging: wlan-ng: Fix restricted __be16 degrades to integer 2014-10-23 14:10:49 +08:00
p80211netdev.h
p80211req.c staging: wlan-ng: Fix typo in comments and printk 2015-01-17 16:10:48 -08:00
p80211req.h
p80211types.h
p80211wep.c
prism2fw.c staging: wlan-ng: prism2fw: fixed code style issue 2014-11-26 14:00:22 -08:00
prism2mgmt.c
prism2mgmt.h staging: wlan-ng: Fix typo in comments and printk 2015-01-17 16:10:48 -08:00
prism2mib.c staging: wlan-ng: remove unused variable 2015-03-01 16:23:55 -08:00
prism2sta.c staging: prism2sta: Replace memcpy with ether_add_copy 2015-03-20 13:11:45 +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.