mac80211: re-upload keys only after telling driver about association
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 8 Apr 2009 00:55:34 +0000 (02:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:41 +0000 (16:54 -0400)
commit4499b23933b44bf9e56d1a29b51d9a62941f9fa4
tree464d5b3b334341c60644a759a352065a3baf6aaa
parente45d8e534b67580eedd9b4910ccc16d6dd3cceff
mac80211: re-upload keys only after telling driver about association

In the normal WPA or RSN case keys are only configured after
associating, so we should do that in that order when resuming
as well. It shouldn't really matter since we do not send any
data at either point, but iwlwifi prefers it this way and it
does seem more natural.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/pm.c