From: Johannes Berg Date: Wed, 20 Jan 2010 19:21:06 +0000 (-0800) Subject: iwlwifi: fix locking in iwl_mac_add_interface X-Git-Tag: v2.6.34-rc1~233^2~421^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47e28f41dce90ea4317d35cf23f232c1a6b07adf;p=pandora-kernel.git iwlwifi: fix locking in iwl_mac_add_interface 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 Signed-off-by: Reinette Chatre --- Reading git-diff-tree failed