aboutsummaryrefslogtreecommitdiffstats
path: root/src/sim/reader_pcsc.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-05-29 21:31:07 +0000
committerNeels Hofmeyr <neels@hofmeyr.de>2021-05-29 23:45:22 +0000
commit208c5b643ff34872bf9eb55e4a40a6b5380f21f9 (patch)
tree7cb5eeb6df65aed7bb34c2b4ca3acd98f5ed04a8 /src/sim/reader_pcsc.c
parentfc02ff459aa5a85624e2ed64b168f582ece410e3 (diff)
fixup for gsm48_chan_mode_to_non_vamos()
When modifying chan modes, I first thought rather always fail if there is no equivalent mode. That is true for gsm48_chan_mode_to_vamos(), but for a change to non-VAMOS, rather return the unchanged mode for non-VAMOS modes, so that gsm48_chan_mode_to_non_vamos(GSM_CMODE_SIGN) works without failure. This makes more convenient checking, e.g. in osmo-bsc's lchan_fsm.c making sure that a non-VAMOS lchan has a non-VAMOS chan_mode, for all types of lchans. Change-Id: Ibf20f04d167e0e0599012ff530bc17ba8c8ab562
Diffstat (limited to 'src/sim/reader_pcsc.c')
0 files changed, 0 insertions, 0 deletions