diff options
-rw-r--r-- | src/gb/gprs_ns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c index 5c756947..47c25290 100644 --- a/src/gb/gprs_ns.c +++ b/src/gb/gprs_ns.c @@ -608,7 +608,7 @@ static void nsvc_start_timer(struct gprs_nsvc *nsvc, enum nsvc_timer_mode mode) DEBUGP(DNS, "NSEI=%u Starting timer in mode %s (%u seconds)\n", nsvc->nsei, get_value_string(timer_mode_strs, mode), seconds); - + if (osmo_timer_pending(&nsvc->timer)) osmo_timer_del(&nsvc->timer); @@ -636,7 +636,7 @@ static void gprs_ns_timer_cb(void *data) DEBUGP(DNS, "NSEI=%u Timer expired in mode %s (%u seconds)\n", nsvc->nsei, get_value_string(timer_mode_strs, nsvc->timer_mode), seconds); - + switch (nsvc->timer_mode) { case NSVC_TIMER_TNS_ALIVE: /* Tns-alive case: we expired without response ! */ |