diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2021-05-28 17:18:11 +0000 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2021-05-31 05:20:03 +0000 |
commit | e24da2ef951ddbc6c03c04d601b30138db60f481 (patch) | |
tree | 0565d70737858fce846dc7a13c8bacd660325e71 /src/osmo-bsc/handover_fsm.c | |
parent | 27c07690d9ece5c8e752a40b5276934bfa1326e3 (diff) |
ensure chan_mode comparisons in non-VAMOS mode
Both VAMOS- and non-VAMOS speech modes should result in indentical voice
handling. So make sure that all chan_modes are converted to non-vamos
before comparing / evaluating in switch statements.
Change-Id: I791e7966b1f8eaa3299a8a46abeb313cf5136e0b
Diffstat (limited to 'src/osmo-bsc/handover_fsm.c')
-rw-r--r-- | src/osmo-bsc/handover_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c index b7658c578..ec70be330 100644 --- a/src/osmo-bsc/handover_fsm.c +++ b/src/osmo-bsc/handover_fsm.c @@ -594,7 +594,7 @@ static bool parse_ho_request(struct gsm_subscriber_connection *conn, const struc static bool chan_mode_is_tch(enum gsm48_chan_mode mode) { - switch (mode) { + switch (gsm48_chan_mode_to_non_vamos(mode)) { case GSM48_CMODE_SPEECH_V1: case GSM48_CMODE_SPEECH_EFR: case GSM48_CMODE_SPEECH_AMR: |