summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/gsm322.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/mobile/gsm322.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/mobile/gsm322.c')
-rw-r--r--src/host/layer23/src/mobile/gsm322.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/host/layer23/src/mobile/gsm322.c b/src/host/layer23/src/mobile/gsm322.c
index c05469d6..2bd4f9c7 100644
--- a/src/host/layer23/src/mobile/gsm322.c
+++ b/src/host/layer23/src/mobile/gsm322.c
@@ -426,15 +426,15 @@ static void start_plmn_timer(struct gsm322_plmn *plmn, int secs)
secs / 60);
plmn->timer.cb = plmn_timer_timeout;
plmn->timer.data = plmn;
- bsc_schedule_timer(&plmn->timer, secs, 0);
+ osmo_timer_schedule(&plmn->timer, secs, 0);
}
/* stop plmn search timer */
static void stop_plmn_timer(struct gsm322_plmn *plmn)
{
- if (bsc_timer_pending(&plmn->timer)) {
+ if (osmo_timer_pending(&plmn->timer)) {
LOGP(DPLMN, LOGL_INFO, "Stopping pending timer.\n");
- bsc_del_timer(&plmn->timer);
+ osmo_timer_del(&plmn->timer);
}
}
@@ -444,15 +444,15 @@ void start_cs_timer(struct gsm322_cellsel *cs, int sec, int micro)
LOGP(DCS, LOGL_DEBUG, "Starting CS timer with %d seconds.\n", sec);
cs->timer.cb = gsm322_cs_timeout;
cs->timer.data = cs;
- bsc_schedule_timer(&cs->timer, sec, micro);
+ osmo_timer_schedule(&cs->timer, sec, micro);
}
/* stop cell selection timer */
static void stop_cs_timer(struct gsm322_cellsel *cs)
{
- if (bsc_timer_pending(&cs->timer)) {
+ if (osmo_timer_pending(&cs->timer)) {
LOGP(DCS, LOGL_DEBUG, "stopping pending CS timer.\n");
- bsc_del_timer(&cs->timer);
+ osmo_timer_del(&cs->timer);
}
}