iwlwifi: fix locking in iwl_mac_add_interface
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 Jan 2010 19:21:06 +0000 (11:21 -0800)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 29 Jan 2010 19:13:34 +0000 (11:13 -0800)
The corresponding iwl_mac_remove_interface only
acquires the mutex, leading me to believe that
the spinlock is not necessary. However, this
doesn't actually acquire the mutex around the
vif pointer check and assignment, fix that.

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

No differences found