increase in case somebody does not use adapter_alloc=3 and gets tons of adapters

This commit is contained in:
internal 2023-11-07 23:16:24 +01:00
parent 3d17ab8de5
commit be74b9630f

View File

@ -872,7 +872,7 @@ static int scan_dvbfe(struct dddvb *dd)
int a, f, fd;
char fname[80];
for (a = 0; a < 16; a++) {
for (a = 0; a < 256; a++) {
for (f = 0; f < 24; f++) {
sprintf(fname, "/dev/dvb/adapter%d/frontend%d", a, f);
fd = open(fname, O_RDONLY);