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)
commit4ce2bd9c4c1dfb416206ff1ad5283f6d24af4031
treebda1737b572117dbe5fdf04d6aa15cfae24c63ce
parentba6fbacf9c073effaedf0c52fe7e52e2baf67725
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