mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-15 11:21:50 +00:00
lms: Apply LMS->OSMO log level conversion
Change-Id: I3a8fbcc7cacebc7038c60175a8ae43b21f713cbb
This commit is contained in:
@@ -71,7 +71,7 @@ static void lms_log_callback(int lvl, const char *msg)
|
|||||||
if ((unsigned int) lvl >= ARRAY_SIZE(lvl_map))
|
if ((unsigned int) lvl >= ARRAY_SIZE(lvl_map))
|
||||||
lvl = ARRAY_SIZE(lvl_map)-1;
|
lvl = ARRAY_SIZE(lvl_map)-1;
|
||||||
|
|
||||||
LOGLV(DLMS, lvl) << msg;
|
LOGLV(DLMS, lvl_map[lvl]) << msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void thread_enable_cancel(bool cancel)
|
static void thread_enable_cancel(bool cancel)
|
||||||
|
|||||||
Reference in New Issue
Block a user