Revert "option: fix allowed modes response parsing"

This reverts commit 0bc824b452.

The fix is NOT to change the expected result, but to change the command itself.
This commit is contained in:
Aleksander Morgado
2012-03-26 15:20:55 +02:00
parent f07d3748c6
commit 2d02279ba7
+3 -3
View File
@@ -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;
}