summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/misc/cell_log.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-05-15 14:23:02 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2011-05-15 14:39:30 +0200
commitd3ba2f6037dcf051a9235bca2b0145b3917300d9 (patch)
tree97f9163304a026ab7690b4cd45c0cefde4efafde /src/host/layer23/src/misc/cell_log.c
parent6f9af5945e855dab4810641dc72eff6a24c30a77 (diff)
src: use namespace prefix osmo_timer*
Summary of changes: s/struct timer_list/struct osmo_timer_list/g s/bsc_add_timer/osmo_timer_add/g s/bsc_schedule_timer/osmo_timer_schedule/g s/bsc_del_timer/osmo_timer_del/g s/bsc_timer_pending/osmo_timer_pending/g s/bsc_nearest_timer/osmo_timers_nearest/g s/bsc_prepare_timers/osmo_timers_prepare/g s/bsc_update_timers/osmo_timers_update/g s/bsc_timer_check/osmo_timers_check/g
Diffstat (limited to 'src/host/layer23/src/misc/cell_log.c')
-rw-r--r--src/host/layer23/src/misc/cell_log.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/host/layer23/src/misc/cell_log.c b/src/host/layer23/src/misc/cell_log.c
index 79800821..a1a764b0 100644
--- a/src/host/layer23/src/misc/cell_log.c
+++ b/src/host/layer23/src/misc/cell_log.c
@@ -71,7 +71,7 @@ static uint16_t band_range[][2] = {{0, 124}, {512, 885}, {955, 1023}, {0, 0}};
#define INFO_FLG_SI4 128
static struct osmocom_ms *ms;
-static struct timer_list timer;
+static struct osmo_timer_list timer;
static struct pm_info {
uint16_t flags;
@@ -233,8 +233,8 @@ static void timeout_cb(void *arg)
static void stop_timer(void)
{
- if (bsc_timer_pending(&timer))
- bsc_del_timer(&timer);
+ if (osmo_timer_pending(&timer))
+ osmo_timer_del(&timer);
}
static void start_timer(int sec, int micro)
@@ -242,7 +242,7 @@ static void start_timer(int sec, int micro)
stop_timer();
timer.cb = timeout_cb;
timer.data = ms;
- bsc_schedule_timer(&timer, sec, micro);
+ osmo_timer_schedule(&timer, sec, micro);
}
static void start_rach(void)