---
 gatchat/ppp_auth.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gatchat/ppp_auth.c b/gatchat/ppp_auth.c
index 95b2f96..fe3c501 100644
--- a/gatchat/ppp_auth.c
+++ b/gatchat/ppp_auth.c
@@ -128,7 +128,8 @@ static void chap_process_failure(struct auth_data *data, 
guint8 *packet)
 {
        struct chap_header *header = (struct chap_header *) packet;
 
-       g_print("Failed to authenticate, message %s\n", header->data);
+       ppp_generate_event(data->ppp, PPP_FAIL);
+       g_printerr("Failed to authenticate, message %s\n", header->data);
 }
 
 /*
-- 
1.6.6.1

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to