summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/gprs/gprs_ns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gprs_ns.c b/openbsc/src/gprs/gprs_ns.c
index 50ab8203..dc12953e 100644
--- a/openbsc/src/gprs/gprs_ns.c
+++ b/openbsc/src/gprs/gprs_ns.c
@@ -773,7 +773,10 @@ struct gprs_ns_inst *gprs_ns_instantiate(gprs_ns_cb_t *cb)
nsi->timeout[NS_TOUT_TNS_ALIVE] = 3;
nsi->timeout[NS_TOUT_TNS_ALIVE_RETRIES] = 10;
+ /* Create the dummy NSVC that we use for sending
+ * messages to non-existant/unknown NS-VC's */
nsi->unknown_nsvc = nsvc_create(nsi, 0xfffe);
+ llist_del(&nsi->unknown_nsvc->list);
return nsi;
}