diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-05-03 19:03:03 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-05-04 09:25:40 +0000 |
commit | ad7277073c1a8e24a24969ee38747a7cc74dcd1b (patch) | |
tree | 13950a9bd57c67703ff6507cc15040a4cd4ca3cc /src/libbsc/bsc_vty.c | |
parent | 1b11bc808f9fe4234bb3b42965f8b7ca5c33e303 (diff) |
bsc_api/GSCON: prevent unnecessary channel mode modifications
gsm0808_assign_req() checks if the new channel mode is compatible
with the new mode. If it is, it does a gsm48_lchan_modify(), but
it does not actually check if the new mode is equal to the current
mode.
- skip when the channel is compatible and the new mode is equal to
the old mode.
- send the ASSIGNMENT COMPLETE directly from ST_ACTIVE when no
mode modify was necessary.
Change-Id: I86a2d52836c54d2dbd77441b182f757327ec7262
Related: OS#2936
Diffstat (limited to 'src/libbsc/bsc_vty.c')
0 files changed, 0 insertions, 0 deletions