diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-24 11:48:34 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-24 11:48:34 +0100 |
commit | 0bc824b452de45815a8b8675d2b041a5eb98cb4c (patch) | |
tree | e81b8ced3f11fd50b12a8ce32232cb88d60d246c | |
parent | d841916c4fef16dc58888c306a2930ffafe9162c (diff) |
option: fix allowed modes response parsing
Expecting a `_OSSYS' reply, not `_OPSYS'.
-rw-r--r-- | plugins/option/mm-broadband-modem-option.c | 6 |
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 267e9320..99828c9f 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, "_OPSYS:"); + str = mm_strip_tag (response, "_OSSYS:"); if (!sscanf (str, "%d,%d", &a, &b)) { g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED, - "Couldn't parse OPSYS response: '%s'", + "Couldn't parse OSSYS response: '%s'", response); return FALSE; } @@ -109,7 +109,7 @@ load_allowed_modes_finish (MMIfaceModem *self, g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED, - "Couldn't unexpected OPSYS response: '%s'", + "Couldn't unexpected OSSYS response: '%s'", response); return FALSE; } |