cfg80211: Allow reassociation in associated state
authorJouni Malinen <j@w1.fi>
Tue, 17 Nov 2009 19:35:38 +0000 (21:35 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Nov 2009 22:09:24 +0000 (17:09 -0500)
commit24b6b15f7d07d26330f73057d618089976a08792
tree52bf74ad76afae6fecce3f5ff75dfc027971d9b2
parentaf65cd96dd4ea8ea5adc6ee850e61a407cd1067a
cfg80211: Allow reassociation in associated state

cfg80211 rejects all association requests when in associated state. This
prevents clean roaming within an ESS since one would first need to
disassociate before being able to request reassociation.

Accept the reassociation request and let the old association to be
dropped when the new one is completed. This fixes nl80211-based
roaming with the current snapshot version of wpa_supplicant (that has
code for requesting reassociation explicitly withthe previous BSSID
attribute).

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/mlme.c