Fixed mISDN (kernel code) to use MPH_ instead of PH_ towards layer 3
This commit is contained in:
parent
46a7a51d4a
commit
8a81901d9c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue