From 8a81901d9ca6db6a14d96808c750cc32a08b3997 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Fri, 8 Apr 2022 19:10:18 +0200 Subject: [PATCH] Fixed mISDN (kernel code) to use MPH_ instead of PH_ towards layer 3 --- src/libmisdn/tei.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libmisdn/tei.c b/src/libmisdn/tei.c index 775e66f..dd31812 100644 --- a/src/libmisdn/tei.c +++ b/src/libmisdn/tei.c @@ -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;