summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-10-06 08:58:55 +0200
committerLubomir Rintel <lkundrak@v3.sk>2018-10-09 20:07:02 +0200
commitaa0e395530fd89c150c8b424da6d305bb260c2fb (patch)
treec0bc7580f879851aab25ffc5149e2068d8ef26ca /src/devices
parent09d0e5590c28b40846fbd1cc433f8f139e6cd32a (diff)
downloadNetworkManager-aa0e395530fd89c150c8b424da6d305bb260c2fb.tar.gz
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
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/wifi/nm-device-olpc-mesh.c2
1 files changed, 1 insertions, 1 deletions
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));