broadband-modem-qmi: limit 3GPP registration updates for 3GPP modems

This commit is contained in:
Aleksander Morgado
2012-08-07 17:36:10 +02:00
parent 6b5799ea0f
commit 02573a5565

View File

@@ -2791,7 +2791,7 @@ qmi_radio_interface_list_to_access_technologies (GArray *radio_interfaces)
} }
static void static void
common_process_serving_system (MMBroadbandModemQmi *self, common_process_serving_system_3gpp (MMBroadbandModemQmi *self,
QmiMessageNasGetServingSystemOutput *response_output, QmiMessageNasGetServingSystemOutput *response_output,
QmiIndicationNasServingSystemOutput *indication_output) QmiIndicationNasServingSystemOutput *indication_output)
{ {
@@ -2980,7 +2980,7 @@ get_serving_system_ready (QmiClientNas *client,
return; return;
} }
common_process_serving_system (ctx->self, output, NULL); common_process_serving_system_3gpp (ctx->self, output, NULL);
g_simple_async_result_set_op_res_gboolean (ctx->result, TRUE); g_simple_async_result_set_op_res_gboolean (ctx->result, TRUE);
qmi_message_nas_get_serving_system_output_unref (output); qmi_message_nas_get_serving_system_output_unref (output);
@@ -3413,7 +3413,7 @@ process_lte_info (QmiMessageNasGetSystemInfoOutput *response_output,
} }
static void static void
common_process_system_info (MMBroadbandModemQmi *self, common_process_system_info_3gpp (MMBroadbandModemQmi *self,
QmiMessageNasGetSystemInfoOutput *response_output, QmiMessageNasGetSystemInfoOutput *response_output,
QmiIndicationNasSystemInfoOutput *indication_output) QmiIndicationNasSystemInfoOutput *indication_output)
{ {
@@ -3505,7 +3505,7 @@ get_system_info_ready (QmiClientNas *client,
return; return;
} }
common_process_system_info (ctx->self, output, NULL); common_process_system_info_3gpp (ctx->self, output, NULL);
g_simple_async_result_set_op_res_gboolean (ctx->result, TRUE); g_simple_async_result_set_op_res_gboolean (ctx->result, TRUE);
qmi_message_nas_get_system_info_output_unref (output); qmi_message_nas_get_system_info_output_unref (output);
@@ -3757,7 +3757,8 @@ system_info_indication_cb (QmiClientNas *client,
MMBroadbandModemQmi *self, MMBroadbandModemQmi *self,
QmiIndicationNasSystemInfoOutput *output) QmiIndicationNasSystemInfoOutput *output)
{ {
common_process_system_info (self, NULL, output); if (mm_iface_modem_is_3gpp (MM_IFACE_MODEM (self)))
common_process_system_info_3gpp (self, NULL, output);
} }
static void static void
@@ -3765,7 +3766,8 @@ serving_system_indication_cb (QmiClientNas *client,
MMBroadbandModemQmi *self, MMBroadbandModemQmi *self,
QmiIndicationNasServingSystemOutput *output) QmiIndicationNasServingSystemOutput *output)
{ {
common_process_serving_system (self, NULL, output); if (mm_iface_modem_is_3gpp (MM_IFACE_MODEM (self)))
common_process_serving_system_3gpp (self, NULL, output);
} }
static void static void