diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-10-06 08:58:55 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2018-10-09 20:07:02 +0200 |
commit | cc7e8887b526a331d5432378ce05bc858ff07296 (patch) | |
tree | c0bc7580f879851aab25ffc5149e2068d8ef26ca | |
parent | 205730046dded614e20895e5899ae9bc6fc41cb8 (diff) |
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
-rw-r--r-- | src/devices/wifi/nm-device-olpc-mesh.c | 2 |
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 602e8d93d..b12941a61 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)); |