Fixed mISDN (kernel code) to use MPH_ instead of PH_ towards layer 3
This commit is contained in:
parent
79cd8295c2
commit
e8c6a82a57
|
@ -1026,7 +1026,7 @@ create_teimgr(struct manager *mgr, struct channel_req *crq)
|
||||||
id = DL_INFO_L2_CONNECT;
|
id = DL_INFO_L2_CONNECT;
|
||||||
teiup_create(mgr, DL_INFORMATION_IND, sizeof(id), &id);
|
teiup_create(mgr, DL_INFORMATION_IND, sizeof(id), &id);
|
||||||
if (test_bit(MGR_PH_ACTIVE, &mgr->options))
|
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;
|
crq->ch = NULL;
|
||||||
if (!list_empty(&mgr->layer2)) {
|
if (!list_empty(&mgr->layer2)) {
|
||||||
read_lock_irqsave(&mgr->lock, flags);
|
read_lock_irqsave(&mgr->lock, flags);
|
||||||
|
@ -1111,7 +1111,7 @@ mgr_send(struct mISDNchannel *ch, struct sk_buff *skb)
|
||||||
case PH_ACTIVATE_IND:
|
case PH_ACTIVATE_IND:
|
||||||
test_and_set_bit(MGR_PH_ACTIVE, &mgr->options);
|
test_and_set_bit(MGR_PH_ACTIVE, &mgr->options);
|
||||||
if (mgr->up)
|
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);
|
mISDN_FsmEvent(&mgr->deact, EV_ACTIVATE_IND, NULL);
|
||||||
do_send(mgr);
|
do_send(mgr);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
@ -1119,7 +1119,7 @@ mgr_send(struct mISDNchannel *ch, struct sk_buff *skb)
|
||||||
case PH_DEACTIVATE_IND:
|
case PH_DEACTIVATE_IND:
|
||||||
test_and_clear_bit(MGR_PH_ACTIVE, &mgr->options);
|
test_and_clear_bit(MGR_PH_ACTIVE, &mgr->options);
|
||||||
if (mgr->up)
|
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);
|
mISDN_FsmEvent(&mgr->deact, EV_DEACTIVATE_IND, NULL);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue