commit | 423269f8035f107d5bc76e10cf17728fdbb3e2e4 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Wed Aug 24 16:48:00 2016 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Aug 27 02:23:47 2016 +0000 |
tree | ae05401bff2d97820bf532a158a8f8759b6d07d9 | |
parent | baa6c5546e719757073fa97fcc4b1f0d32c39165 [diff] |
log: improve for rsl_lchan_mark_broken() In rsl_lchan_mark_broken(), call rsl_lchan_set_state() so the state transition gets logged in the debug log. Remove logging for the broken channel at the callers, instead log the error actually in rsl_lchan_mark_broken() itself, with the reason message passed by the caller anyway. (Removes code dup and ensures it's always logged.) Change-Id: I54ae9bbd3f193bae7b1bda1fef3e33e62b353bf5