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-22 21:29:24 +0200
commit32e2502665baa13c19614545bc59a85b44dfe57e (patch)
treedc90959acead4244e40c964517c4dedcdfcc5295
parentd19a403faa480b20f9ca6c9ce9e66a015b16cf46 (diff)
downloadNetworkManager-th/wifi-p2p-crash.tar.gz
wifi/p2p: fix crash due to invalid signal handler supplicant_group_iface_group_finished_cb()th/wifi-p2p-crash
Fixes: 00e64d13320f ('core/devices: Add P2P Wifi device and peer tracking') https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/249
-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);