mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 20:00:09 +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(cherry picked from commitaa0e395530)
This commit is contained in:
parent
628c976f54
commit
8f1631c679
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