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)
commitdb98a6cfcc9ac951067c9a2cb60459b618fd7b10
tree0975c85b4dd1e17db0cca7b604c7bb97ee38fb4f
parentb5c34f662a3519d34f9634a14d8de638fdbe0ca3
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