Change in osmo-trx[master]: lms: Apply LMS->OSMO log level conversion

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Nov 27 07:44:41 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11902 )

Change subject: lms: Apply LMS->OSMO log level conversion
......................................................................

lms: Apply LMS->OSMO log level conversion

Change-Id: I3a8fbcc7cacebc7038c60175a8ae43b21f713cbb
---
M Transceiver52M/device/lms/LMSDevice.cpp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  daniel: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved



diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp
index 318df17..0a6c4a2 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -71,7 +71,7 @@
 	if ((unsigned int) lvl >= ARRAY_SIZE(lvl_map))
 		lvl = ARRAY_SIZE(lvl_map)-1;
 
-	LOGLV(DLMS, lvl) << msg;
+	LOGLV(DLMS, lvl_map[lvl]) << msg;
 }
 
 static void thread_enable_cancel(bool cancel)

-- 
To view, visit https://gerrit.osmocom.org/11902
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3a8fbcc7cacebc7038c60175a8ae43b21f713cbb
Gerrit-Change-Number: 11902
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181127/904af2cb/attachment.html>


More information about the gerrit-log mailing list