- don't send DISCONNECT_REQ without PLCI.

This commit is contained in:
MelwareDE 2007-05-14 10:08:15 +00:00
parent 4136d39be1
commit e120f854f0
1 changed files with 3 additions and 0 deletions

View File

@ -934,6 +934,9 @@ static void send_progress(struct capi_pvt *i)
*/
static void capi_send_disconnect(unsigned int PLCI, struct capi_pvt *i)
{
if (PLCI == 0) {
return;
}
if (i) {
capi_sendf(i, 1, CAPI_DISCONNECT_REQ, PLCI, get_capi_MessageNumber(), "()");
} else {