mac80211: simplify key locking
authorJohannes Berg <johannes.berg@intel.com>
Tue, 1 Jun 2010 08:19:19 +0000 (10:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Jun 2010 18:10:46 +0000 (14:10 -0400)
commitad0e2b5a00dbec303e4682b403bb6703d11dcdb2
treeb7aeb06a284af0cfb4aa1de840592478b373f554
parentefe4c457a1d4e56840c42bf2e409dc04e8ad4304
mac80211: simplify key locking

Since I recently made station management able
to sleep, I can now rework key management as
well; since it will no longer need a spinlock
and can also use a mutex instead, a bunch of
code to allow drivers' set_key to sleep while
key management is protected by a spinlock can
now be removed.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/key.c
net/mac80211/key.h
net/mac80211/main.c
net/mac80211/sta_info.c