summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-07-25 16:14:50 +0200
committerThomas Haller <thaller@redhat.com>2019-07-25 23:27:49 +0200
commitce44e120b421a44f96271684361c1817c4417084 (patch)
tree5255a93bddca0e6ee7760c9ca4c8f4f777962b45
parent9eddf9fb0943be57c85bbdf9c237bb3c406aeb53 (diff)
downloadNetworkManager-ce44e120b421a44f96271684361c1817c4417084.tar.gz
iwd: don't mark generated profiles as read-only
First of all, the generated profile also gets generated as keyfile to /run, thereby it looses the read-only flag (because this flag gets lost when storing the profile to keyfile). Second, I don't think we should artificially limit the capabilities of the generated profile. If the user chooses to modify/delete it, so just allow it.
-rw-r--r--src/devices/wifi/nm-iwd-manager.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/wifi/nm-iwd-manager.c b/src/devices/wifi/nm-iwd-manager.c
index b696f128a7..5b550ea46d 100644
--- a/src/devices/wifi/nm-iwd-manager.c
+++ b/src/devices/wifi/nm-iwd-manager.c
@@ -436,7 +436,6 @@ mirror_8021x_connection (NMIwdManager *self,
NM_SETTING_CONNECTION_TYPE, NM_SETTING_WIRELESS_SETTING_NAME,
NM_SETTING_CONNECTION_ID, name,
NM_SETTING_CONNECTION_UUID, nm_utils_uuid_generate_buf (uuid),
- NM_SETTING_CONNECTION_READ_ONLY, TRUE,
NULL));
nm_connection_add_setting (connection, setting);