diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-08 20:47:50 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-23 19:10:57 +0200 |
commit | 3cd1b7c468d844f3142ee683663866f9096143cf (patch) | |
tree | bc5becc2521ec21fc3a089d51439c18a4efd489d | |
parent | 3be2432e99021ee819de053deabb6d24480d4b13 (diff) |
Revert "iface-modem-cdma: ease the logic for plugins providing only detailed reg info"
This reverts commit 3661c9ed847be490f9034b41d3b035cab1cf78de.
-rw-r--r-- | src/mm-iface-modem-cdma.c | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/src/mm-iface-modem-cdma.c b/src/mm-iface-modem-cdma.c index bc506c87..da12bec9 100644 --- a/src/mm-iface-modem-cdma.c +++ b/src/mm-iface-modem-cdma.c @@ -492,19 +492,8 @@ setup_registration_checks_ready (MMIfaceModemCdma *self, return; } - /* Allow quick skip of all intermediate steps for those modems providing - * only a detailed registration state check */ - if (!ctx->skip_qcdm_call_manager_step && - !ctx->skip_qcdm_hdr_step && - !ctx->skip_at_cdma_service_status_step && - !ctx->skip_at_cdma1x_serving_system_step && - ctx->skip_detailed_registration_state) - /* Jump to the detailed registration state check */ - ctx->step = REGISTRATION_CHECK_STEP_DETAILED_REGISTRATION_STATE; - else - /* Go on to next step */ - ctx->step++; - + /* Go on to next step */ + ctx->step++; registration_check_step (ctx); } @@ -894,17 +883,6 @@ mm_iface_modem_cdma_run_registration_checks (MMIfaceModemCdma *self, ctx->cdma1x_supported ? "yes" : "no", ctx->evdo_supported ? "yes" : "no"); - if (!MM_IFACE_MODEM_CDMA_GET_INTERFACE (ctx->self)->setup_registration_checks && - !MM_IFACE_MODEM_CDMA_GET_INTERFACE (ctx->self)->get_call_manager_state && - !MM_IFACE_MODEM_CDMA_GET_INTERFACE (ctx->self)->get_hdr_state && - !MM_IFACE_MODEM_CDMA_GET_INTERFACE (ctx->self)->get_service_status && - !MM_IFACE_MODEM_CDMA_GET_INTERFACE (ctx->self)->get_cdma1x_serving_system && - MM_IFACE_MODEM_CDMA_GET_INTERFACE (ctx->self)->get_detailed_registration_state) - /* Special handling of the case of having only the detailed registration - * state callback */ - ctx->step = REGISTRATION_CHECK_STEP_DETAILED_REGISTRATION_STATE; - else - ctx->step = REGISTRATION_CHECK_STEP_FIRST; registration_check_step (ctx); } |