Fixes for Async Soft Channel input device support

The add_record() routine wasn't properly checking for unsupported
link types, resulting in an assertion failure on IOC exit if the
record was left in a "bad" state.
This commit is contained in:
Andrew Johnson
2019-04-17 23:20:54 -05:00
committed by Dirk Zimoch
parent c866609f24
commit 4b6cb2bcdd
7 changed files with 7 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ static long add_record(dbCommon *pcommon)
devPvt *pdevPvt;
processNotify *ppn;
if (dbLinkIsDefined(plink) && dbLinkIsConstant(plink))
if (plink->type == CONSTANT)
return 0;
if (plink->type != PV_LINK) {