- reset PLCI on DISCONNECT_IND to avoid race if asterisk is too slow

with hangup command.
This commit is contained in:
MelwareDE 2007-01-28 13:51:58 +00:00
parent 220db2555e
commit 0b90a71fbc
1 changed files with 2 additions and 0 deletions

View File

@ -3739,6 +3739,8 @@ static void capidev_handle_disconnect_indication(_cmsg *CMSG, unsigned int PLCI,
interface_cleanup(i);
} else {
local_queue_frame(i, &fr);
/* PLCI is now removed, make sure it doesn't match with new one */
i->PLCI = 0xdead0000;
}
return;
}