summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-12 14:18:46 +0000
committerHarald Welte <laforge@gnumonks.org>2010-05-12 18:28:00 +0200
commitf88dc001821bb98986668b9daee98d9cb5b1cdd2 (patch)
tree6457086449909b3517fb5419901819922f12fd47 /openbsc
parent4e187c6dbb9c428ca45f8043f51925a2bde4b520 (diff)
NS: Send UNBLOCK signal when we get UNBLOCK_ACK from peer
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/gprs/gprs_ns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gprs_ns.c b/openbsc/src/gprs/gprs_ns.c
index 8cb26a63..3d672fb8 100644
--- a/openbsc/src/gprs/gprs_ns.c
+++ b/openbsc/src/gprs/gprs_ns.c
@@ -678,6 +678,7 @@ int gprs_ns_rcvmsg(struct gprs_ns_inst *nsi, struct msgb *msg,
/* mark NS-VC as unblocked + active */
nsvc->state = NSE_S_ALIVE;
nsvc->remote_state = NSE_S_ALIVE;
+ ns_dispatch_signal(nsvc, S_NS_UNBLOCK, 0);
break;
case NS_PDUT_BLOCK:
rc = gprs_ns_rx_block(nsvc, msg);