summaryrefslogtreecommitdiff
path: root/src/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.c')
-rwxr-xr-xsrc/network.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c
index abf88ebd..e5c654ef 100755
--- a/src/network.c
+++ b/src/network.c
@@ -1827,6 +1827,10 @@ static void set_authenticate_error(struct connman_network *network)
if (!service)
return;
+ if (connman_service_get_favorite(service)) {
+ __connman_service_set_ignore(service, true);
+ }
+
__connman_service_indicate_error(service,
CONNMAN_SERVICE_ERROR_AUTH_FAILED);
}