This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated via 84fe989151e00089c674658532ecfa5a7cacc173 (commit) from cf123c0c4e43c3cad124d535afaf97c9578dcd81 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=84fe989151e00089c674658532ecfa5a7...
commit 84fe989151e00089c674658532ecfa5a7cacc173 Author: Alexander Chemeris Alexander.Chemeris@gmail.com Date: Tue Jul 11 01:42:41 2017 +0630
libcommon: Fix log output for bts>0.
Fixes regression probably introduced in c696cc28.
For bts>0 logging doesn't show bts number correctly when printing lchan identification string - it will always show it as "bts=0". The reason for this is that the identification string is cached before bts->nr value is set to a proper value.
This patch sets bts->nr as part of the first step of the bts structure initialization, before caching happens thus making sure the cached identification string is cached with the correct values.
Change-Id: I61c18a7f021fcb1ec00d34a745f4e3ab03416c2d
-----------------------------------------------------------------------
Summary of changes: openbsc/include/openbsc/gsm_data_shared.h | 2 +- openbsc/src/libcommon/gsm_data.c | 5 +++-- openbsc/src/libcommon/gsm_data_shared.c | 3 ++- openbsc/tests/channel/channel_test.c | 33 ++++++++++++++++++++++++++++++- openbsc/tests/channel/channel_test.ok | 1 + openbsc/tests/gsm0408/gsm0408_test.c | 10 +++++----- 6 files changed, 44 insertions(+), 10 deletions(-)
hooks/post-receive
osmocom-commitlog@lists.osmocom.org