aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-output.c
diff options
context:
space:
mode:
authorDominique Martinet <dominique.martinet@atmark-techno.com>2025-05-01 15:56:48 +0900
committerDominique Martinet <dominique.martinet@atmark-techno.com>2025-05-16 22:06:24 +0900
commit07805265946c154aefe6726f3a049de09ff8dd2f (patch)
tree5f7a8abb71562c448593c9a593cea015b60849db /cli/mmcli-output.c
parentdea8f27464fee9afb7d5cee20b2f6f58499c369b (diff)
base-bearer: set dbus disconnect_request on ignored disconnection
When we get a disconnect event that we wanted to ignore, set the DisconnectRequest property instead so clients on dbus can act on it. Also upgrade the logs from dbg to msg (info) as there would be otherwise no message indicating the disconnect request if it is not acted on. This was checked with dbus-monitor: ``` $ dbus-monitor --system "type='signal',sender='org.freedesktop.ModemManager1'" signal time=1747362238.227804 sender=:1.73798 -> destination=(null destination) serial=741 path=/org/freedesktop/ModemManager1/Bearer/0; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged string "org.freedesktop.ModemManager1.Bearer" array [ dict entry( string "DisconnectRequest" variant boolean true ) ] array [ ] ``` Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
Diffstat (limited to 'cli/mmcli-output.c')
0 files changed, 0 insertions, 0 deletions