Message ID | 16292.18803.qm@web110815.mail.gq1.yahoo.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff -r 7e56c108996e -r 211989f20f80 linux/drivers/media/dvb/siano/smscoreapi.c --- a/linux/drivers/media/dvb/siano/smscoreapi.c Thu May 14 23:24:44 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smscoreapi.c Thu May 14 23:27:21 2009 +0300 @@ -938,7 +938,7 @@ int smscore_set_device_mode(struct smsco coredev->device_flags &= ~SMS_DEVICE_NOT_READY; } - if (rc != 0) + if (rc < 0) sms_err("return error code %d.", rc); return rc; }