mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
increase in case somebody does not use adapter_alloc=3 and gets tons of adapters
This commit is contained in:
parent
3d17ab8de5
commit
be74b9630f
@ -872,7 +872,7 @@ static int scan_dvbfe(struct dddvb *dd)
|
|||||||
int a, f, fd;
|
int a, f, fd;
|
||||||
char fname[80];
|
char fname[80];
|
||||||
|
|
||||||
for (a = 0; a < 16; a++) {
|
for (a = 0; a < 256; a++) {
|
||||||
for (f = 0; f < 24; f++) {
|
for (f = 0; f < 24; f++) {
|
||||||
sprintf(fname, "/dev/dvb/adapter%d/frontend%d", a, f);
|
sprintf(fname, "/dev/dvb/adapter%d/frontend%d", a, f);
|
||||||
fd = open(fname, O_RDONLY);
|
fd = open(fname, O_RDONLY);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user