From e07786ebb1025d89eeb670be0ce518c6a8497cec Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 26 Mar 2012 15:23:28 +0200 Subject: [PATCH] option: fix loading current allowed modes The proper command to check the current allowed modes is `AT_OPSYS?'. --- plugins/option/mm-broadband-modem-option.c | 4 ++-- 1 file 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,