]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7c5f29afdfb183ff78ccb579c5bdb34b54e4984
tree464d5b3b334341c60644a759a352065a3baf6aaa
parent83412775e65b49a8825ca0d24470efe20adedea3
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