From 6013b2dabfc213b9f266867f9feee50534a8d19e Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Fri, 8 Mar 2019 11:24:06 +0100 Subject: [PATCH] wwan/ofono: pass the right argument to manager proxy callback Otherwise it will be dereferencing NULL when invoked. Fixes: 58712c95464a ('ofono: take D-Bus proxy for ConnectionManager asynchronously') https://github.com/NetworkManager/NetworkManager/pull/313 (cherry picked from commit 90fe78eb7fcd1fbb83bd14e2f7cd19accca8a863) (cherry picked from commit 4d4b3fc8b54983e9b485568c4922d946f6565eba) --- src/devices/wwan/nm-modem-ofono.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/wwan/nm-modem-ofono.c b/src/devices/wwan/nm-modem-ofono.c index ea66859038..b57cd74d3a 100644 --- a/src/devices/wwan/nm-modem-ofono.c +++ b/src/devices/wwan/nm-modem-ofono.c @@ -664,7 +664,7 @@ handle_connman_iface (NMModemOfono *self, gboolean found) OFONO_DBUS_INTERFACE_CONNECTION_MANAGER, priv->connman_proxy_cancellable, _connman_proxy_new_cb, - NULL); + self); } }