From: Holger Schurig Date: Wed, 19 Mar 2008 14:24:21 +0000 (+0100) Subject: libertas: fix spinlock recursion bug X-Git-Tag: v2.6.25-rc9~99^2~31^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd1f635fe0f14d8c03181f9f1f743b127694fc14;p=pandora-kernel.git libertas: fix spinlock recursion bug This fixes a bug detected by CONFIG_DEBUG_SPINLOCK: if_cs_get_int_status() is only called from lbs_thread(), via priv->hw_get_int_status. However, lbs_thread() has already taken the priv->driver_lock. So it's a fault to take the same lock again here. Signed-off-by: Holger Schurig Acked-by: Dan Williams Signed-off-by: John W. Linville --- Reading git-diff-tree failed