[0905_29] Siano: smscore - bug fix at get_device_mode
PATCH 1/1 [0905_29] Siano: smscore - bug fix at get_device_mode
# HG changeset patch
# User Uri Shkolnik <[email protected]>
# Date 1242332841 -10800
# Node ID 211989f20f803bc5a719c6fda4640888e379d6fc # Parent 7e56c108996ef016c4b2117090e2577aea9ed56c [0905_29] Siano: smscore - bug fix at get_device_mode
From: Uri Shkolnik <[email protected]>
Fix bug that cause error log to echo also if success
Priority: normal
Signed-off-by Uri Shkolnik <[email protected]>
linux/drivers/media/dvb/siano/smscoreapi.c +1 -1
@@ -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; }