iwlwifi: change WEP key protection to use mutex
authorJohannes Berg <johannes.berg@intel.com>
Fri, 19 Feb 2010 19:42:32 +0000 (11:42 -0800)
committerReinette Chatre <reinette.chatre@intel.com>
Wed, 10 Mar 2010 00:12:08 +0000 (16:12 -0800)
For later station notification support we would like WEP key setting to be
done synchronously always. Currently all places from which WEP key is set
can sleep, but the usage of sta_lock prevents it to do so. Modify the
locking to use priv->mutex instead and thus enable this call to sleep.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>

No differences found