bugfix: ai SoftDevice should return error status when get fails

This commit is contained in:
zimoch committed 2020-06-29 14:54:39 +02:00
1 parent 0353ede517
commit 473790124b
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -85,9 +85,10 @@ static long read_ai(aiRecord *prec)
prec->udf = FALSE;
prec->dpvt = &devAiSoft; /* Any non-zero value */
return 2;
}
else
prec->dpvt = NULL;
return 2;
return status;
}