diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-26 15:23:28 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-26 15:23:28 +0200 |
commit | e07786ebb1025d89eeb670be0ce518c6a8497cec (patch) | |
tree | cad71fdad549c9f51efb02040587bdaf4de0e952 | |
parent | 2d02279ba7af4c4ee0ca4df588ba320817fe2919 (diff) |
option: fix loading current allowed modes
The proper command to check the current allowed modes is `AT_OPSYS?'.
-rw-r--r-- | plugins/option/mm-broadband-modem-option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/option/mm-broadband-modem-option.c b/plugins/option/mm-broadband-modem-option.c index f8fb69c5..cda5ccc9 100644 --- a/plugins/option/mm-broadband-modem-option.c +++ b/plugins/option/mm-broadband-modem-option.c @@ -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, |