Fixed mISDN (kernel code) to use MPH_ instead of PH_ towards layer 3

This commit is contained in:
Andreas Eversberg 2022-04-08 19:10:18 +02:00
parent 79cd8295c2
commit e8c6a82a57
1 changed files with 3 additions and 3 deletions

View File

@ -1026,7 +1026,7 @@ create_teimgr(struct manager *mgr, struct channel_req *crq)
id = DL_INFO_L2_CONNECT;
teiup_create(mgr, DL_INFORMATION_IND, sizeof(id), &id);
if (test_bit(MGR_PH_ACTIVE, &mgr->options))
teiup_create(mgr, PH_ACTIVATE_IND, 0, NULL);
teiup_create(mgr, MPH_ACTIVATE_IND, 0, NULL);
crq->ch = NULL;
if (!list_empty(&mgr->layer2)) {
read_lock_irqsave(&mgr->lock, flags);
@ -1111,7 +1111,7 @@ mgr_send(struct mISDNchannel *ch, struct sk_buff *skb)
case PH_ACTIVATE_IND:
test_and_set_bit(MGR_PH_ACTIVE, &mgr->options);
if (mgr->up)
teiup_create(mgr, PH_ACTIVATE_IND, 0, NULL);
teiup_create(mgr, MPH_ACTIVATE_IND, 0, NULL);
mISDN_FsmEvent(&mgr->deact, EV_ACTIVATE_IND, NULL);
do_send(mgr);
ret = 0;
@ -1119,7 +1119,7 @@ mgr_send(struct mISDNchannel *ch, struct sk_buff *skb)
case PH_DEACTIVATE_IND:
test_and_clear_bit(MGR_PH_ACTIVE, &mgr->options);
if (mgr->up)
teiup_create(mgr, PH_DEACTIVATE_IND, 0, NULL);
teiup_create(mgr, MPH_DEACTIVATE_IND, 0, NULL);
mISDN_FsmEvent(&mgr->deact, EV_DEACTIVATE_IND, NULL);
ret = 0;
break;