linuxdvb: one more en50494 creation fix

This commit is contained in:
Jaroslav Kysela 2014-08-16 09:07:37 +02:00
parent e1add61aa8
commit 98f197ce6c

View file

@ -269,6 +269,9 @@ linuxdvb_en50494_create0
linuxdvb_diseqc_t *ld;
linuxdvb_en50494_t *le;
if (strcmp(name ?: "", "Generic"))
return NULL;
if (port > 1) {
tvherror("en50494", "only 2 ports/positions are posible. given %i", port);
port = 0;