mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 22:50:08 +01:00
wifi: fix a problem in removing non-existing source
GLib-CRITICAL **: Source ID 4197 was not found when attempting to remove it
(cherry picked from commit 5fa369e95c)
This commit is contained in:
parent
2631174d4e
commit
f85ccf9a9e
1 changed files with 3 additions and 0 deletions
|
|
@ -1544,6 +1544,9 @@ request_wireless_scan (NMDeviceWifi *self, GHashTable *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