option: fix loading current allowed modes
The proper command to check the current allowed modes is `AT_OPSYS?'.
This commit is contained in:
@@ -113,7 +113,7 @@ load_allowed_modes_finish (MMIfaceModem *self,
|
|||||||
g_set_error (error,
|
g_set_error (error,
|
||||||
MM_CORE_ERROR,
|
MM_CORE_ERROR,
|
||||||
MM_CORE_ERROR_FAILED,
|
MM_CORE_ERROR_FAILED,
|
||||||
"Couldn't unexpected OPSYS response: '%s'",
|
"Couldn't parse unexpected OPSYS response: '%s'",
|
||||||
response);
|
response);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
@@ -124,7 +124,7 @@ load_allowed_modes (MMIfaceModem *self,
|
|||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
mm_base_modem_at_command (MM_BASE_MODEM (self),
|
mm_base_modem_at_command (MM_BASE_MODEM (self),
|
||||||
"_OSSYS?",
|
"_OPSYS?",
|
||||||
3,
|
3,
|
||||||
FALSE,
|
FALSE,
|
||||||
callback,
|
callback,
|
||||||
|
Reference in New Issue
Block a user