summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-09-22 21:27:52 +0200
committerThomas Haller <thaller@redhat.com>2019-09-23 13:22:53 +0200
commit9aa6c676efef727fa6eee515ca7d9725c4bbf176 (patch)
tree7f622174429b44213977f905e251b710b7bb8750
parentc03defa3a891ba259d823d0d3cf33a388fd1634b (diff)
downloadNetworkManager-9aa6c676efef727fa6eee515ca7d9725c4bbf176.tar.gz
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
-rw-r--r--src/devices/wifi/nm-device-wifi-p2p.c1
1 files changed, 1 insertions, 0 deletions
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);