From 173782d7331e4277988b7eaa2d81902df4d6285a 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 (cherry picked from commit 9aa6c676efef727fa6eee515ca7d9725c4bbf176) (cherry picked from commit 2d7195fc9d85a263b572fc5f3046dc5f58a5822e) --- 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 8381ebc769..19aa5ad302 100644 --- a/src/devices/wifi/nm-device-wifi-p2p.c +++ b/src/devices/wifi/nm-device-wifi-p2p.c @@ -827,6 +827,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);