diff options
Diffstat (limited to 'src/mm-sim-mbim.c')
-rw-r--r-- | src/mm-sim-mbim.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mm-sim-mbim.c b/src/mm-sim-mbim.c index 8d7f3f85..08acf389 100644 --- a/src/mm-sim-mbim.c +++ b/src/mm-sim-mbim.c @@ -87,7 +87,7 @@ simid_subscriber_ready_state_ready (MbimDevice *device, response = mbim_device_command_finish (device, res, &error); if (response && - mbim_message_command_done_get_result (response, &error) && + mbim_message_response_get_result (response, MBIM_MESSAGE_TYPE_COMMAND_DONE, &error) && mbim_message_subscriber_ready_status_response_parse ( response, NULL, /* ready_state */ @@ -155,7 +155,7 @@ imsi_subscriber_ready_state_ready (MbimDevice *device, response = mbim_device_command_finish (device, res, &error); if (response && - mbim_message_command_done_get_result (response, &error) && + mbim_message_response_get_result (response, MBIM_MESSAGE_TYPE_COMMAND_DONE, &error) && mbim_message_subscriber_ready_status_response_parse ( response, NULL, /* ready_state */ @@ -227,7 +227,7 @@ load_operator_identifier_ready (MbimDevice *device, response = mbim_device_command_finish (device, res, &error); if (response && - mbim_message_command_done_get_result (response, &error) && + mbim_message_response_get_result (response, MBIM_MESSAGE_TYPE_COMMAND_DONE, &error) && mbim_message_home_provider_response_parse ( response, &provider, @@ -294,7 +294,7 @@ load_operator_name_ready (MbimDevice *device, response = mbim_device_command_finish (device, res, &error); if (response && - mbim_message_command_done_get_result (response, &error) && + mbim_message_response_get_result (response, MBIM_MESSAGE_TYPE_COMMAND_DONE, &error) && mbim_message_home_provider_response_parse ( response, &provider, @@ -356,7 +356,7 @@ pin_set_enter_ready (MbimDevice *device, response = mbim_device_command_finish (device, res, &error); if (response && - !mbim_message_command_done_get_result (response, &error)) { + !mbim_message_response_get_result (response, MBIM_MESSAGE_TYPE_COMMAND_DONE, &error)) { /* Sending PIN failed, build a better error to report */ if (mbim_message_pin_response_parse ( response, @@ -448,7 +448,7 @@ puk_set_enter_ready (MbimDevice *device, response = mbim_device_command_finish (device, res, &error); if (response && - !mbim_message_command_done_get_result (response, &error)) { + !mbim_message_response_get_result (response, MBIM_MESSAGE_TYPE_COMMAND_DONE, &error)) { /* Sending PUK failed, build a better error to report */ if (mbim_message_pin_response_parse ( response, @@ -538,7 +538,7 @@ pin_set_enable_ready (MbimDevice *device, response = mbim_device_command_finish (device, res, &error); if (response) { - mbim_message_command_done_get_result (response, &error); + mbim_message_response_get_result (response, MBIM_MESSAGE_TYPE_COMMAND_DONE, &error); mbim_message_unref (response); } @@ -618,7 +618,7 @@ pin_set_change_ready (MbimDevice *device, response = mbim_device_command_finish (device, res, &error); if (response) { - mbim_message_command_done_get_result (response, &error); + mbim_message_response_get_result (response, MBIM_MESSAGE_TYPE_COMMAND_DONE, &error); mbim_message_unref (response); } |