diff options
author | Andrew Zaborowski <andrew.zaborowski@intel.com> | 2020-10-14 15:02:06 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2020-10-22 16:58:27 +0200 |
commit | ada71a4af6af7f2e830f266e757aabfe2e5dcabb (patch) | |
tree | 2e20d6c9baa6cf64ebf7619aa715bad405d6ce9b | |
parent | d868ce153e80981fd24b04418d029a3c67d70fd1 (diff) | |
download | NetworkManager-ada71a4af6af7f2e830f266e757aabfe2e5dcabb.tar.gz |
iwd: Remove a redundant set_current_ap call
set_current_ap is always called before remove_all_aps.
-rw-r--r-- | src/devices/wifi/nm-device-iwd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/devices/wifi/nm-device-iwd.c b/src/devices/wifi/nm-device-iwd.c index c946ab2245..c479b3d453 100644 --- a/src/devices/wifi/nm-device-iwd.c +++ b/src/devices/wifi/nm-device-iwd.c @@ -181,8 +181,6 @@ remove_all_aps(NMDeviceIwd *self) if (c_list_is_empty(&priv->aps_lst_head)) return; - set_current_ap(self, NULL, FALSE); - c_list_for_each_entry_safe (ap, ap_safe, &priv->aps_lst_head, aps_lst) ap_add_remove(self, FALSE, ap, FALSE); |