diff --git a/hardware/tondaj-sl-814/api.c b/hardware/tondaj-sl-814/api.c index 17fbc2b1..5c72c6a2 100644 --- a/hardware/tondaj-sl-814/api.c +++ b/hardware/tondaj-sl-814/api.c @@ -120,10 +120,8 @@ static GSList *hw_scan(GSList *options) break; } } - if (!conn) { - sr_dbg("Couldn't determine connection options."); + if (!conn) return NULL; - } if (!serialcomm) serialcomm = SERIALCOMM;