mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 15:58:03 +02:00
iwd: Remove a redundant set_current_ap call
set_current_ap is always called before remove_all_aps.
This commit is contained in:
parent
d868ce153e
commit
ada71a4af6
1 changed files with 0 additions and 2 deletions
|
|
@ -181,8 +181,6 @@ remove_all_aps(NMDeviceIwd *self)
|
||||||
if (c_list_is_empty(&priv->aps_lst_head))
|
if (c_list_is_empty(&priv->aps_lst_head))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
set_current_ap(self, NULL, FALSE);
|
|
||||||
|
|
||||||
c_list_for_each_entry_safe (ap, ap_safe, &priv->aps_lst_head, aps_lst)
|
c_list_for_each_entry_safe (ap, ap_safe, &priv->aps_lst_head, aps_lst)
|
||||||
ap_add_remove(self, FALSE, ap, FALSE);
|
ap_add_remove(self, FALSE, ap, FALSE);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue