From 4d49f5cd34131b6fe440d4c6d29276e50678d66a Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 18 Jun 2012 09:23:20 -0500 Subject: ussd: send NotRecognized error for invalid USSD --- src/ussd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ussd.c b/src/ussd.c index 29cf1b49..74888b2e 100644 --- a/src/ussd.c +++ b/src/ussd.c @@ -573,7 +573,7 @@ static DBusMessage *ussd_initiate(DBusConnection *conn, DBusMessage *msg, DBG("No.., checking if this is a USSD string"); if (!valid_ussd_string(str, call_in_progress)) - return __ofono_error_invalid_format(msg); + return __ofono_error_not_recognized(msg); if (!ussd_encode(str, &num_packed, buf)) return __ofono_error_invalid_format(msg); -- cgit v1.2.3