From 30ec06edcce4d6dc699b31666d1f62415e71429f Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 17 Jan 2020 11:40:57 -0600 Subject: [PATCH] wsc: Remove stale comment Known networks are now automatically updated through inotify mechanisms, so this comment is no longer needed. --- src/wsc.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/wsc.c b/src/wsc.c index 2f2a6ecd..fba74eba 100644 --- a/src/wsc.c +++ b/src/wsc.c @@ -539,15 +539,6 @@ static void wsc_store_credentials(struct wsc_credentials_info *creds, storage_network_sync(security, ssid, settings); l_settings_free(settings); - - /* - * TODO: Mark this network as known. We might be getting - * multiple credentials from WSC, so there is a possibility - * that the network is not known and / or not in scan results. - * In both cases, the network should be considered for - * auto-connect. Note, since we sync the settings, the next - * reboot will put the network on the known list. - */ } } @@ -1258,8 +1249,7 @@ static void wsc_dbus_free(void *user_data) if (wsc->pending_connect) dbus_pending_reply(&wsc->pending_connect, - dbus_error_not_available( - wsc->pending_connect)); + dbus_error_not_available(wsc->pending_connect)); if (wsc->pending_cancel) dbus_pending_reply(&wsc->pending_cancel,