option: fix loading current allowed modes

The proper command to check the current allowed modes is `AT_OPSYS?'.
This commit is contained in:
Aleksander Morgado
2012-03-26 15:23:28 +02:00
parent 2d02279ba7
commit e07786ebb1

View File

@@ -113,7 +113,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 parse unexpected OPSYS response: '%s'",
response);
return FALSE;
}
@@ -124,7 +124,7 @@ load_allowed_modes (MMIfaceModem *self,
gpointer user_data)
{
mm_base_modem_at_command (MM_BASE_MODEM (self),
"_OSSYS?",
"_OPSYS?",
3,
FALSE,
callback,