mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 11:08:03 +02:00
Ignore secrets updates for uninteresting settings
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2783 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
937d1add73
commit
2e4cabc55e
1 changed files with 5 additions and 0 deletions
|
|
@ -2449,6 +2449,11 @@ real_connection_secrets_updated (NMDevice *dev,
|
||||||
if (nm_device_get_state (dev) != NM_DEVICE_STATE_NEED_AUTH)
|
if (nm_device_get_state (dev) != NM_DEVICE_STATE_NEED_AUTH)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (strcmp (setting_name, "802-11-wireless-security") != 0) {
|
||||||
|
nm_warning ("Ignoring updated secrets for setting '%s'.", setting_name);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
req = nm_device_get_act_request (dev);
|
req = nm_device_get_act_request (dev);
|
||||||
g_assert (req);
|
g_assert (req);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue