modemmanager: fix mm_log() invocations in 25-modemmanager* files
authorArkadiusz Drabczyk <arkadiusz@drabczyk.org>
Wed, 13 Jul 2022 12:35:34 +0000 (14:35 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 23 Apr 2024 14:36:48 +0000 (16:36 +0200)
Definition of mm_log() was changed in
45a56a889943b437f78fa2bfca3d5d8ac555c77e but 25-modemmanager* weren't
changed.

Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
(cherry picked from commit cdbc7a67fc17e6472ef9a1344d85f0137e8c2c59)

net/modemmanager/files/25-modemmanager-net
net/modemmanager/files/25-modemmanager-tty
net/modemmanager/files/25-modemmanager-wwan

index e87231e31f56b0c5384cf80186dd891b72f0144c..ff46420190a036ceade8bbeb8ddac7f56bca4899 100644 (file)
@@ -12,7 +12,7 @@
 mkdir -m 0755 -p "${MODEMMANAGER_RUNDIR}"
 
 # Report network interface
-mm_log "${ACTION} network interface ${INTERFACE}: event processed"
+mm_log "info" "${ACTION} network interface ${INTERFACE}: event processed"
 mm_report_event "${ACTION}" "${INTERFACE}" "net" "/sys${DEVPATH}"
 
 # Look for an associated cdc-wdm interface
@@ -26,6 +26,6 @@ esac
 
 # Report cdc-wdm device, if any
 [ -n "${cdcwdm}" ] && {
-       mm_log "${ACTION} cdc interface ${cdcwdm}: custom event processed"
+       mm_log "info" "${ACTION} cdc interface ${cdcwdm}: custom event processed"
        mm_report_event "${ACTION}" "${cdcwdm}" "usbmisc" "/sys${DEVPATH}"
 }
index c13148a33dad382f0dd7a6a54323267b244bffe2..5d1042cdd25d46626c06530843045249ec2a8818 100644 (file)
@@ -12,5 +12,5 @@
 mkdir -m 0755 -p "${MODEMMANAGER_RUNDIR}"
 
 # Report TTY
-mm_log "${ACTION} serial interface ${DEVNAME}: event processed"
+mm_log "info" "${ACTION} serial interface ${DEVNAME}: event processed"
 mm_report_event "${ACTION}" "${DEVNAME}" "tty" "/sys${DEVPATH}"
index c4dc6b897da8ad2a07ea5ae5bdbb1a24049ed44f..b36ade478054ce22340a12835db0d485fde81156 100644 (file)
@@ -11,5 +11,5 @@
 mkdir -m 0755 -p "${MODEMMANAGER_RUNDIR}"
 
 # Report wwan
-mm_log "${ACTION} wwan control port ${DEVNAME}: event processed"
+mm_log "info" "${ACTION} wwan control port ${DEVNAME}: event processed"
 mm_report_event "${ACTION}" "${DEVNAME}" "wwan" "/sys${DEVPATH}"