diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-06-13 09:39:56 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-01-22 17:25:40 +0100 |
commit | d33659a2a567e02197aaad81c67a9150a9e82c32 (patch) | |
tree | 73eda5e2f84f0fef1ad62274d08fece19232e6a4 /src/common/handover.c | |
parent | 122aab3e2bcc3a7c3ba24ba62f212fd97349c56b (diff) |
handover: Use enums to indicate the state instead of magic numbers
Conflicts:
src/common/l1sap.c
src/common/rsl.c
src/osmo-bts-trx/l1_if.c
Diffstat (limited to 'src/common/handover.c')
-rw-r--r-- | src/common/handover.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/handover.c b/src/common/handover.c index e02c128f..6dedf9ea 100644 --- a/src/common/handover.c +++ b/src/common/handover.c @@ -111,7 +111,7 @@ void handover_rach(struct gsm_bts_trx *trx, uint8_t chan_nr, lchan->rqd_ta = acc_delay; /* Stop handover detection, wait for valid frame */ - lchan->ho.active = 2; + lchan->ho.active = HANDOVER_WAIT_FRAME; l1sap_chan_modify(trx, chan_nr); /* Send HANDover DETect to BSC */ @@ -140,6 +140,6 @@ void handover_frame(struct gsm_lchan *lchan) osmo_timer_del(&lchan->ho.t3105); /* Handover process is done */ - lchan->ho.active = 0; + lchan->ho.active = HANDOVER_NONE; } |