summaryrefslogtreecommitdiffstats
path: root/tests/smscb/smscb_test.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2019-03-01 10:40:48 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2019-03-11 09:08:31 +0100
commit94d79fdeef612bcc3216813e5d6ef3eaf6f652b1 (patch)
tree2ba0273c322f78b707ab9954e303bf92fac8a276 /tests/smscb/smscb_test.c
parent3713af865503f78ad1a49604dc5d39908b94b2be (diff)
gsm0808_utils: fix gsm48 multirate to S-bit converter
The function gsm0808_sc_cfg_from_gsm48_mr_cfg() is used to convert a gsm48 multirate struct into a set of S-bits (S0 to S15). However, the conversion function currently does not take into account that bit S1 actually stands for four rates at once (Config-NB-Code = 1). Lets make sure that S1 is only set when the multirate configuration permits all four required rates. Change-Id: I6ad531d4e70c2252e32e2bbaca8e14a7ec6d9840 Related: SYS#4470
Diffstat (limited to 'tests/smscb/smscb_test.c')
0 files changed, 0 insertions, 0 deletions