Ben Chan
a7dee00e5c
broadband-modem: port modem_location_load_capabilities to use GTask
2017-07-18 10:42:16 +02:00
Ben Chan
ceb13f5251
broadband-modem: port enable_location_gathering to use GTask
2017-07-18 10:42:16 +02:00
Ben Chan
53c34494b6
broadband-modem: port initialization_started to use GTask
2017-07-18 10:42:16 +02:00
Ben Chan
034353e38b
broadband-modem: port enabling_started to use GTask
2017-07-18 10:42:16 +02:00
Ben Chan
77bb31e5cf
broadband-modem: port disable to use GTask
2017-07-18 10:42:16 +02:00
Ben Chan
ba162ce1f3
broadband-modem: port enable to use GTask
2017-07-18 10:42:16 +02:00
Ben Chan
04532ea54e
broadband-modem: port initialize to use GTask
2017-07-18 10:42:16 +02:00
Ben Chan
ce664a6264
sms-mbim: fix peek_device to use g_task_report_new_error
...
When porting MMSmsMbim to use GTask, peek_device wasn't modified to use
g_task_report_new_error, which could potentially lead to an incorrect
G_TASK cast.
2017-07-18 10:33:00 +02:00
Ben Chan
d25e6bdfaa
iface-modem-time: fix update_network_timezone to use g_task_report_new_error
...
Commit 7c5f308af
("iface-modem-time: port update_network_timezone to use
GTask") ported most of the update_network_timezone code to use GTask,
but missed a g_simple_async_report_error_in_idle call, which could
potentially lead to an incorrect G_TASK cast.
2017-07-18 10:33:00 +02:00
Ben Chan
0657914ebb
call-list: fix mm_call_list_delete_call to use g_task_report_new_error
...
Commit a08064492
("call-list: port mm_call_list_delete_call to use GTask")
ported most of the mm_call_list_delete_call code to use GTask, but missed a
g_simple_async_report_error_in_idle calls, which can potentially lead to
an incorrect G_TASK cast in mm_call_list_delete_call_finish.
2017-07-18 10:33:00 +02:00
Aleksander Morgado
4901a67660
telit: add missing source_tag in g_task_report_new_error() call
...
Fixes: 1bd9935b5a
2017-07-18 10:33:00 +02:00
Aleksander Morgado
1317a728da
telit: fix minor typo
2017-07-18 10:26:45 +02:00
Ben Chan
1bd9935b5a
telit: fix modem_set_current_bands to use g_task_report_new_error
...
Commit acf101335
("telit: port mm-broadband-modem-telit to use GTask")
ported most of the modem_set_current_bands code to use GTask, but missed
a few g_simple_async_report_error_in_idle calls, which potentially leads
to an incorrect G_TASK cast in modem_set_current_bands_finish.
2017-07-18 10:25:20 +02:00
Ben Chan
38c53ed814
base-modem: minor coding style fixes
2017-07-17 13:46:22 -05:00
Ben Chan
cdff53d0a4
iface-modem: minor coding style fixes
2017-07-17 13:46:17 -05:00
Ben Chan
5263ec650f
log: minor coding style fixes
2017-07-17 13:46:14 -05:00
Ben Chan
024825042e
plugin-manager: minor coding style fixes
2017-07-17 13:46:12 -05:00
Aleksander Morgado
5ee0b32298
zte,icera: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:17 +02:00
Aleksander Morgado
7b392398e4
zte: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:17 +02:00
Aleksander Morgado
ef274b5fa2
simtech: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:17 +02:00
Aleksander Morgado
a3c980c78b
option,hso: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:17 +02:00
Aleksander Morgado
f3a301db3c
option: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:17 +02:00
Aleksander Morgado
e2246da507
mtk: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:17 +02:00
Aleksander Morgado
15a221e88d
mbm: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:17 +02:00
Aleksander Morgado
0be6e7d2ea
altair-lte: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:17 +02:00
Aleksander Morgado
c44fa6c681
icera: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:17 +02:00
Aleksander Morgado
f1f313c214
huawei: skip unrequired explicit casts to GSimpleAsyncResult
2017-07-17 10:20:16 +02:00
Aleksander Morgado
91bbcb5c5f
huawei: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:16 +02:00
Aleksander Morgado
c0c2e8aae8
huawei: fix async completion in voice event handlers setting
2017-07-17 10:20:16 +02:00
Aleksander Morgado
7b0c0bc96b
huawei: fix async completion in cdma event handlers setting
2017-07-17 10:20:16 +02:00
Aleksander Morgado
24e8785a83
via: fix async completion in cdma event handlers setting
2017-07-17 10:14:13 +02:00
Ben Chan
94a289a1b3
modem-helpers: minor coding style fixes
2017-07-14 10:59:46 +02:00
Ben Chan
45682aa7ee
sms-part-3gpp: minor coding style fixes
2017-07-14 10:59:46 +02:00
Ben Chan
057732663b
broadband-modem-mbim: minor coding style fixes
2017-07-14 10:59:46 +02:00
Ben Chan
da20697e18
base-call: minor coding style fixes
2017-07-14 10:59:46 +02:00
Ben Chan
cb6efd8eda
base-manager: minor coding style fixes
2017-07-14 10:59:46 +02:00
Ben Chan
1158c2c6e9
broadband-modem: rename load_power_state for consistency
...
All MMIfaceModem functions implemented by MMBroadbandModem, except
load_power_state, are prefixed with 'modem_'. For consistency, this
patch renames load_power_state{,_finish} to
modem_load_power_state{,_finish}.
2017-07-14 09:48:20 +02:00
Aleksander Morgado
aafd21ac31
broadband-modem-mbim: avoid multiple MM_BROADBAND_MODEM_MBIM() casts
2017-07-12 11:21:41 +02:00
Eric Caruso
3d9510b4fd
mm-broadband-modem-mbim: support SIM hot swapping
...
If an MBIM modem supports unsolicited notifications for
subscriber ready status, we can use it to detect when SIM cards
have been removed and reinserted. Upon detection we should re-
probe the modem so that we can configure it for the new SIM.
2017-07-12 11:15:07 +02:00
Ben Chan
fe384625aa
telit: fix memory leaks in unit tests
2017-07-12 11:04:09 +02:00
Ben Chan
4fbdee1e6d
telit: minor coding style fixes
2017-07-12 11:04:09 +02:00
Ben Chan
39ddd34898
telit: remove unnecessary NULL checks for g_free / g_match_info_free
...
g_free() and g_match_info_free() already check if the given pointer is
NULL and does nothing on a NULL pointer.
2017-07-12 11:04:09 +02:00
Ben Chan
4a7190f64b
telit: fix memory leak in mm_telit_get_4g_mm_bands
2017-07-12 11:04:09 +02:00
Ben Chan
b6f40de1e1
telit: remove unused 'flags' variable in mm_telit_get_4g_mm_bands
2017-07-12 11:04:09 +02:00
Ben Chan
99dd037a68
iface-modem: fix mm_iface_modem_initialize_finish
...
This fixes commit 66f10d61a2
("iface-modem: port mm_iface_modem_initialize to use GTask"), which
didn't update mm_iface_modem_initialize_finish to use
g_task_propagate_boolean.
2017-07-12 11:03:23 +02:00
Ben Chan
4e99ca7fd5
ublox: fix memory leaks in unit tests
2017-07-12 11:01:27 +02:00
Aleksander Morgado
247890739b
broadband-modem-mbim: remove unused variable
...
CC ModemManager-mm-broadband-modem-mbim.o
mm-broadband-modem-mbim.c: In function ‘mbim_port_open_ready’:
mm-broadband-modem-mbim.c:1581:35: error: unused variable ‘ctx’ [-Werror=unused-variable]
InitializationStartedContext *ctx;
^~~
cc1: all warnings being treated as errors
2017-07-12 10:59:27 +02:00
Ben Chan
350aa6a461
broadband-modem-mbim: port remaining code to use GTask
...
This patch ports the following functions in MMBroadbandModemMbim to use GTask:
- common_enable_disable_unsolicited_events
- common_setup_cleanup_unsolicited_events
- load_initial_sms_parts
- modem_3gpp_load_enabled_facility_locks
- modem_3gpp_register_in_network
- modem_3gpp_run_registration_checks
- modem_3gpp_scan_networks
- modem_load_current_capabilities
- modem_load_own_numbers
- modem_load_power_state
- modem_load_unlock_required
- modem_load_unlock_retries
- modem_power_down
- modem_power_up
2017-07-11 19:24:23 -07:00
Ben Chan
20b3675adf
broadband-modem-mbim: port initialization_started to use GTask
2017-07-11 10:30:39 -07:00
Ben Chan
e8ffefaf6f
broadband-modem-mbim: port enabling_started to use GTask
2017-07-11 10:30:39 -07:00