]> 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)
commit2890cc7d509bf40bbfe17022a33af8268874b664
treebda1737b572117dbe5fdf04d6aa15cfae24c63ce
parentb1a44d946692cfd5fa67097aba5decf6aaba7ba2
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