From 9aa6c676efef727fa6eee515ca7d9725c4bbf176 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sun, 22 Sep 2019 21:27:52 +0200 Subject: [PATCH] wifi/p2p: fix crash due to invalid signal handler supplicant_group_iface_group_finished_cb() Fixes: 00e64d13320f ('core/devices: Add P2P Wifi device and peer tracking') https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/249 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/284 --- src/devices/wifi/nm-device-wifi-p2p.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/wifi/nm-device-wifi-p2p.c b/src/devices/wifi/nm-device-wifi-p2p.c index 10aad9d1c2..da3c76e4de 100644 --- a/src/devices/wifi/nm-device-wifi-p2p.c +++ b/src/devices/wifi/nm-device-wifi-p2p.c @@ -804,6 +804,7 @@ supplicant_group_iface_state_cb (NMSupplicantInterface *iface, static void supplicant_group_iface_group_finished_cb (NMSupplicantInterface *iface, + const char *iface_path, void *user_data) { NMDeviceWifiP2P *self = NM_DEVICE_WIFI_P2P (user_data);