From: Reinette Chatre Date: Wed, 5 May 2010 09:26:06 +0000 (-0700) Subject: iwlwifi: fix and add missing sta_lock usage X-Git-Tag: v2.6.36-rc1~571^2~615^2~172^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c5ac091b269912cd30fade987f4bc615ef3be90;p=pandora-kernel.git iwlwifi: fix and add missing sta_lock usage There are a few places where sta_lock is used, but the station information protected by it is accessed outside of the lock. Address this in two ways, if the access won't sleep then just move the access into the lock, if the access can sleep then copy the needed station information to the stack to be accessed without risk of it changing while access in progress. Additionally, a number of other places access station station information without holding the sta_lock, fix those as well. Signed-off-by: Reinette Chatre Signed-off-by: Johannes Berg --- Reading git-diff-tree failed