mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 11:40:08 +01:00
devices/olpc: correct the signal handler arguments
Commit631ca806("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:631ca80692
This commit is contained in:
parent
09d0e5590c
commit
aa0e395530
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue