]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: down_interruptible() can return -EINTR, not EINTR
authorroel kluin <roel.kluin@gmail.com>
Mon, 3 Jan 2011 20:03:44 +0000 (12:03 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Jan 2011 19:46:56 +0000 (14:46 -0500)
commit099c015c05b992666b3e352bc4dfa5519367b514
tree0975c85b4dd1e17db0cca7b604c7bb97ee38fb4f
parent41ecc7091f82b2acaaf90bf746f7d0d68435a4f0
libertas: down_interruptible() can return -EINTR, not EINTR

Fix test in lbs_spi_thread().  down_interruptible() can return -EINTR, but
not EINTR.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Dan Williams <dcbw@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_spi.c