You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
417 B
14 lines
417 B
5 years ago
|
diff --git a/drivers/media/dvb-core/dvbdev.c b/drivers/media/dvb-core/dvbdev.c
|
||
|
index 560450a..eb1a212 100644
|
||
|
--- a/drivers/media/dvb-core/dvbdev.c
|
||
|
+++ b/drivers/media/dvb-core/dvbdev.c
|
||
|
@@ -789,7 +789,7 @@ static int dvbdev_check_free_adapter_num(int num)
|
||
|
|
||
|
static int dvbdev_get_free_adapter_num (void)
|
||
|
{
|
||
|
- int num = 0;
|
||
|
+ int num = 1;
|
||
|
|
||
|
while (num < DVB_MAX_ADAPTERS) {
|
||
|
if (dvbdev_check_free_adapter_num(num))
|