fix hang while loading firmware
This commit is contained in:
parent
f26b3e2119
commit
03381a45d2
|
@ -23,6 +23,7 @@
|
|||
#define DLE 0x10
|
||||
#define ETX 0x03
|
||||
|
||||
static char *ISAR_revision = "$Revision$";
|
||||
|
||||
const u_char faxmodulation_s[] = "3,24,48,72,73,74,96,97,98,121,122,145,146";
|
||||
const u_char faxmodulation[] = {3,24,48,72,73,74,96,97,98,121,122,145,146};
|
||||
|
@ -398,7 +399,6 @@ isar_load_firmware(bchannel_t *bch, u_char *buf, int size)
|
|||
isar_setup(bch);
|
||||
bch->inst.unlock(bch->inst.data);
|
||||
bch->inst.obj->own_ctrl(&bch->inst, MGR_LOADFIRM | CONFIRM, NULL);
|
||||
bch->inst.lock(bch->inst.data, 0);
|
||||
ret = 0;
|
||||
reterrflg:
|
||||
bch->inst.lock(bch->inst.data, 0);
|
||||
|
@ -1793,6 +1793,7 @@ int init_isar(bchannel_t *bch)
|
|||
{
|
||||
isar_hw_t *ih = bch->hw;
|
||||
|
||||
printk(KERN_INFO "mISDN: ISAR driver Rev. %s\n", mISDN_getrev(ISAR_revision));
|
||||
bch->hw_bh = isar_bh;
|
||||
ih->ftimer.function = (void *) ftimer_handler;
|
||||
ih->ftimer.data = (long) bch;
|
||||
|
|
Loading…
Reference in New Issue