diff options
Diffstat (limited to 'libnm/nm-device-wifi.c')
| -rw-r--r-- | libnm/nm-device-wifi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm/nm-device-wifi.c b/libnm/nm-device-wifi.c index c85809dd..e4ea94e9 100644 --- a/libnm/nm-device-wifi.c +++ b/libnm/nm-device-wifi.c @@ -407,6 +407,8 @@ _device_wifi_request_scan_async (NMDeviceWifi *device, simple = g_simple_async_result_new (G_OBJECT (device), callback, user_data, nm_device_wifi_request_scan_async); + if (cancellable) + g_simple_async_result_set_check_cancellable (simple, cancellable); /* If a scan is in progress, just return */ if (priv->scan_info) { |