aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-10-10 16:17:50 +0200
committerHarald Welte <laforge@gnumonks.org>2018-10-12 06:26:10 +0000
commitbc6bc0a4ab4937b61b1dd62e62af8c9ab602c20e (patch)
tree1c73e4138e19286364dbfc470fc4a28fec5d2bba
parent0d91fb5ed14e1daf1a170429479f151a5e9206d2 (diff)
handover_decision_2.c: tweak comments
-rw-r--r--src/osmo-bsc/handover_decision_2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmo-bsc/handover_decision_2.c b/src/osmo-bsc/handover_decision_2.c
index 4e9b02caf..70be050a9 100644
--- a/src/osmo-bsc/handover_decision_2.c
+++ b/src/osmo-bsc/handover_decision_2.c
@@ -471,6 +471,7 @@ static uint8_t check_requirements(struct gsm_lchan *lchan, struct gsm_bts *bts,
break;
default:
LOGPHOLCHANTOBTS(lchan, bts, LOGL_DEBUG, "Not even considering: src is not a SPEECH mode lchan\n");
+ /* FIXME: should allow handover of non-speech lchans */
return 0;
}
@@ -556,7 +557,7 @@ static uint8_t check_requirements(struct gsm_lchan *lchan, struct gsm_bts *bts,
}
#endif
- /* the maximum number of unsynchonized handovers must no be exceeded */
+ /* the maximum number of unsynchronized handovers must no be exceeded */
if (current_bts != bts
&& bts_handover_count(bts, HO_SCOPE_ALL) >= ho_get_hodec2_ho_max(bts->ho)) {
LOGPHOLCHANTOBTS(lchan, bts, LOGL_DEBUG,
@@ -679,7 +680,7 @@ static int trigger_handover_or_assignment(struct gsm_lchan *lchan, struct gsm_bt
return 0;
}
-/* debug collected candidates */
+/* verbosely log about a handover candidate */
static inline void debug_candidate(struct gsm_lchan *lchan, struct ho_candidate *candidate,
struct gsm_bts *neighbor, int8_t rxlev, int tchf_count, int tchh_count)
{