]> err.no Git - linux-2.6/commit
libertas: use spin_is_locked() instead of spin_trylock() in lbs_interrupt()
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 13 Dec 2007 06:53:57 +0000 (01:53 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:07:08 +0000 (15:07 -0800)
commitf5a3ea6f966700ae82504202fdd827f2d3c79e66
treea7bb9853b28458f6c0dcae6d69128da6b1103012
parent860621347e88b23517fc4ec93fa5af940401c3ec
libertas: use spin_is_locked() instead of spin_trylock() in lbs_interrupt()

We get scary warnings on UP if we use spin_trylock() and find, as we
hoped, that the lock in question is already locked.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c