From aa0e395530fd89c150c8b424da6d305bb260c2fb Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sat, 6 Oct 2018 08:58:55 +0200 Subject: devices/olpc: correct the signal handler arguments Commit 631ca806 ("devices/wifi: flip meaning of scanning allowed signal") added a "periodic" argument, but the OLPC companion handler was not adjusted. Fix it now. https://github.com/NetworkManager/NetworkManager/pull/222 Fixes: 631ca80692e4caec0b90e2301bbe5378889ad944 --- src/devices/wifi/nm-device-olpc-mesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices') diff --git a/src/devices/wifi/nm-device-olpc-mesh.c b/src/devices/wifi/nm-device-olpc-mesh.c index 602e8d93d8..b12941a61b 100644 --- a/src/devices/wifi/nm-device-olpc-mesh.c +++ b/src/devices/wifi/nm-device-olpc-mesh.c @@ -279,7 +279,7 @@ companion_state_changed_cb (NMDeviceWifi *companion, } static gboolean -companion_scan_prohibited_cb (NMDeviceWifi *companion, gpointer user_data) +companion_scan_prohibited_cb (NMDeviceWifi *companion, gboolean periodic, gpointer user_data) { NMDeviceOlpcMesh *self = NM_DEVICE_OLPC_MESH (user_data); NMDeviceState state = nm_device_get_state (NM_DEVICE (self)); -- cgit v1.2.1