mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-03 21:48:21 +02:00
wifi: fix a problem in removing non-existing source
GLib-CRITICAL **: Source ID 4197 was not found when attempting to remove it
This commit is contained in:
parent
97b14a21e4
commit
5fa369e95c
1 changed files with 3 additions and 0 deletions
|
|
@ -1353,6 +1353,9 @@ request_wireless_scan (NMDeviceWifi *self, GVariant *scan_options)
|
|||
static gboolean
|
||||
request_wireless_scan_periodic (gpointer user_data)
|
||||
{
|
||||
NMDeviceWifiPrivate *priv = NM_DEVICE_WIFI_GET_PRIVATE (user_data);
|
||||
|
||||
priv->pending_scan_id = 0;
|
||||
request_wireless_scan (user_data, NULL);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue