diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-23 12:19:06 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-26 13:14:52 +0000 |
commit | 728e6cd39810a75af4907e19fb2bd5ca6b211b00 (patch) | |
tree | 395d0007636cb6943c8cc38f1be748efed05a0d2 /src/mm-error-helpers.c | |
parent | 6397aacfdbd8cd69524f3fc8adb722509a0cc05a (diff) |
base-modem: fix modem_sync() operation handling
The mm_base_modem_sync() method is an asynchronous method that
receives a callback and user data, and therefore we MUST always
complete the async method calling that callback. Set that up with a
GTask as usual.
Also, the mm_base_modem_sync_finish() method should be implemented
along with mm_base_modem_sync(), not in the source file of the
caller of the async method. The finish() always depends on how the
async method was implemented, in our case using a GTask.
Diffstat (limited to 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions