2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/drivers/staging/rtl8723au
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
..
core staging: rtl8723au: Remove unneeded comments 2015-04-03 15:25:47 +02:00
hal drivers: staging: rtl8723au: fix "warning: cast to restricted __le16" 2015-04-03 15:12:54 +02:00
include staging: rtl8723au: Update RT_TRACE macro and uses 2015-03-26 13:15:07 +01:00
os_dep cfg80211: properly send NL80211_ATTR_DISCONNECTED_BY_AP in disconnect 2015-05-26 15:21:27 +02:00
Kconfig staging: rtl8723au: Remove P2P/WiFiDirect/WiFiDisplay code 2014-04-15 11:03:56 -07:00
Makefile staging: rtl8723au: Fold rtw_ack_tx_done23a() into rtw23a_sctx_done_err() 2014-12-02 16:40:00 -08:00
TODO staging: r8723au: Turn on build of new driver 2014-04-05 14:53:46 -07:00