summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-08-14 18:18:58 +0200
committerLubomir Rintel <lkundrak@v3.sk>2018-08-14 18:23:21 +0200
commiteaa83eedc55cb765f331b6ae693904c2528a4e76 (patch)
tree672f50f25078eadd247e16f2e1e3ce7e9bca5b15
parent72db613ca7005c6ef1582570530b8838c6cc3575 (diff)
downloadNetworkManager-eaa83eedc55cb765f331b6ae693904c2528a4e76.tar.gz
iwd: improve error messages
Fix errors, typoes and ambiguities.
-rw-r--r--src/devices/wifi/nm-device-iwd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/wifi/nm-device-iwd.c b/src/devices/wifi/nm-device-iwd.c
index aaf8e81bb5..4fbf0e5b39 100644
--- a/src/devices/wifi/nm-device-iwd.c
+++ b/src/devices/wifi/nm-device-iwd.c
@@ -510,7 +510,7 @@ check_connection_compatible (NMDevice *device, NMConnection *connection, GError
if (perm_hw_addr) {
if (mac && !nm_utils_hwaddr_matches (mac, -1, perm_hw_addr, -1)) {
nm_utils_error_set_literal (error, NM_UTILS_ERROR_CONNECTION_AVAILABLE_TEMPORARY,
- "mac address mispatches");
+ "device MAC address does not match the profile");
return FALSE;
}
@@ -521,13 +521,13 @@ check_connection_compatible (NMDevice *device, NMConnection *connection, GError
if (nm_utils_hwaddr_matches (mac_blacklist[i], -1, perm_hw_addr, -1)) {
nm_utils_error_set_literal (error, NM_UTILS_ERROR_CONNECTION_AVAILABLE_TEMPORARY,
- "mac address blacklisted");
+ "MAC address blacklisted");
return FALSE;
}
}
} else if (mac) {
nm_utils_error_set_literal (error, NM_UTILS_ERROR_CONNECTION_AVAILABLE_TEMPORARY,
- "device has no valid mac address as required by profile");
+ "device has no valid MAC address as required by profile");
return FALSE;
}