diff options
author | Ilan Peer <ilan.peer@intel.com> | 2016-10-18 23:12:13 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-10-19 12:15:38 +0200 |
commit | 0711d638786941ec02551dd9b4aa0d8341f7db5b (patch) | |
tree | 794affa9b2c804aeee70d8ff34bafd05c819a457 /net/wireless/nl80211.c | |
parent | f438ceb81d424cb90a5a1aad569056bd7c2ab4c5 (diff) | |
download | op-kernel-dev-0711d638786941ec02551dd9b4aa0d8341f7db5b.zip op-kernel-dev-0711d638786941ec02551dd9b4aa0d8341f7db5b.tar.gz |
cfg80211: allow aborting in-progress connection atttempts
On a disconnect request from userspace, cfg80211 currently calls
called rdev_disconnect() only in case that 'current_bss' was set,
i.e. connection had been established.
Change this to allow the userspace call to succeed and call the
driver's disconnect() method also while the connection attempt is
in progress, to be able to abort attempts.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
[change commit subject/message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
0 files changed, 0 insertions, 0 deletions