]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Allow reassociation to be requested with internal SME
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 29 Mar 2016 10:53:28 +0000 (13:53 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Apr 2016 13:09:28 +0000 (15:09 +0200)
commit5f1913c1e5d830679cf2aae999a0476ee30fdfb2
treebda1737b572117dbe5fdf04d6aa15cfae24c63ce
parent39165635a18b17b08ca6bcbb1d4fb540216a316c
cfg80211: Allow reassociation to be requested with internal SME

If the user space issues a NL80211_CMD_CONNECT with
NL80211_ATTR_PREV_BSSID when there is already a connection, allow this
to proceed as a reassociation instead of rejecting the new connect
command with EALREADY.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
[validate prev_bssid]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c
net/wireless/sme.c