aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-03-26 15:20:55 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-26 15:20:55 +0200
commit2d02279ba7af4c4ee0ca4df588ba320817fe2919 (patch)
tree259d67942408f5445e7ea568b0e5664bec5d42a9
parentf07d3748c6bad7fda9d485ffb0144f8c3380460e (diff)
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.
-rw-r--r--plugins/option/mm-broadband-modem-option.c6
1 files 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;
}