From 2d02279ba7af4c4ee0ca4df588ba320817fe2919 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 26 Mar 2012 15:20:55 +0200 Subject: [PATCH] Revert "option: fix allowed modes response parsing" This reverts commit 0bc824b452de45815a8b8675d2b041a5eb98cb4c. The fix is NOT to change the expected result, but to change the command itself. --- plugins/option/mm-broadband-modem-option.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/option/mm-broadband-modem-option.c b/plugins/option/mm-broadband-modem-option.c index 2d78fd46..f8fb69c5 100644 --- a/plugins/option/mm-broadband-modem-option.c +++ b/plugins/option/mm-broadband-modem-option.c @@ -74,13 +74,13 @@ load_allowed_modes_finish (MMIfaceModem *self, if (!response) return FALSE; - str = mm_strip_tag (response, "_OSSYS:"); + str = mm_strip_tag (response, "_OPSYS:"); if (!sscanf (str, "%d,%d", &a, &b)) { g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED, - "Couldn't parse OSSYS response: '%s'", + "Couldn't parse OPSYS response: '%s'", response); return FALSE; } @@ -113,7 +113,7 @@ load_allowed_modes_finish (MMIfaceModem *self, g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED, - "Couldn't parse unexpected OSSYS response: '%s'", + "Couldn't unexpected OPSYS response: '%s'", response); return FALSE; }