From 7e04539e776c9edfec410d5d851e38f87bdcaebc Mon Sep 17 00:00:00 2001 From: John Levon Date: Thu, 27 Feb 2003 22:20:05 -0800 Subject: [PATCH] [PATCH] rio500 typo I believe && is meant here, but I cannot test it. This is against 2.5.63 --- drivers/usb/misc/rio500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/misc/rio500.c b/drivers/usb/misc/rio500.c index 18f15014c21fe..458b48b812b40 100644 --- a/drivers/usb/misc/rio500.c +++ b/drivers/usb/misc/rio500.c @@ -332,7 +332,7 @@ write_rio(struct file *file, const char *buffer, } interruptible_sleep_on_timeout(&rio-> wait_q, NAK_TIMEOUT); continue; - } else if (!result & partial) { + } else if (!result && partial) { obuf += partial; thistime -= partial; } else -- 2.53.0