For ab_bt_write and ab_bt_read, remove from driver list before calling callback

This commit is contained in:
Marty Kraimer
1995-02-13 15:10:55 +00:00
parent e3f3d9c87b
commit 0c9de2c129

View File

@@ -551,10 +551,10 @@ unsigned short card;
printf("Allen Bradley: abBtCallback Logic Error");
return;
}
(preq->callback)(preq);
pabbtrequest[link][adapter][card] = NULL;
pcard = &ab_config[link][adapter][card];
*pcard &= ~(AB_INTERFACE_TYPE|AB_INIT_BIT|AB_SENT_INIT);
pabbtrequest[link][adapter][card] = NULL;
(preq->callback)(preq);
}
int ab_bt_read(link,adapter,card,preq)