9
0
Fork 0

mtp: Consider the linkset be ready for SCTP after having collected routing data

After the expiry of T18 we should have collected the routing data
from the adjacent links and should be able to send SCCP packages
to remote endpoints.
This commit is contained in:
Holger Hans Peter Freyther 2011-03-02 23:44:03 +01:00
parent ec84e3c1a1
commit 3574c121ff
1 changed files with 1 additions and 1 deletions

View File

@ -282,6 +282,7 @@ static void linkset_t18_cb(void *_set)
/* TODO: now send out routing states */
LOGP(DINP, LOGL_NOTICE, "The linkset %d has collected routing data.\n", set->nr);
set->sccp_up = 1;
}
static void linkset_t20_cb(void *_set)
@ -336,7 +337,6 @@ static int mtp_link_sign_msg(struct mtp_link_set *set, struct mtp_level_3_hdr *h
bsc_del_timer(&set->T20);
linkset_t18_cb(set);
linkset_t20_cb(set);
set->sccp_up = 1;
return 0;
break;
}