bugfix: ai SoftDevice should return error status when get fails

This commit is contained in:
2020-02-13 17:07:42 +01:00
parent 0353ede517
commit 473790124b
2 changed files with 3 additions and 2 deletions

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;
}