]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix FT roaming
authorJohannes Berg <johannes.berg@intel.com>
Fri, 11 Jan 2013 13:34:25 +0000 (14:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 16 Jan 2013 14:03:37 +0000 (15:03 +0100)
commit53de7b7686d1c6ae9687de88c6e6079b855741d1
tree75b637d05283d316e507c2628b261922554d0bf5
parenta6f11cd5dcd042bc6990b699828330fb5ecd1bfd
mac80211: fix FT roaming

During FT roaming, wpa_supplicant attempts to set the
key before association. This used to be rejected, but
as a side effect of my commit adb0e4929ebc0c89de67005
("mac80211: redesign auth/assoc") the key was accepted
causing hardware crypto to not be used for it as the
station isn't added to the driver yet.

It would be possible to accept the key and then add it
to the driver when the station has been added. However,
this may run into issues with drivers using the state-
based station adding if they accept the key only after
association like it used to be.

For now, revert to the behaviour from before the auth
and assoc change.

Cc: stable@vger.kernel.org
Reported-by: Cédric Debarge <cedric.debarge@acksys.fr>
Tested-by: Cédric Debarge <cedric.debarge@acksys.fr>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c