Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db98a6cf authored by roel kluin's avatar roel kluin Committed by John W. Linville
Browse files

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: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Dan Williams <dcbw@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b5c34f66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -784,7 +784,7 @@ static int lbs_spi_thread(void *data)
				up(&card->spi_thread_terminated);
				do_exit(0);
			}
		} while (err == EINTR);
		} while (err == -EINTR);

		/* Read the host interrupt status register to see what we
		 * can do. */