core: fix some typos in comments
This commit is contained in:
@@ -292,7 +292,7 @@ modem_create_bearer (MMIfaceModem *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/* Create SIM (Modem inteface) */
|
/* Create SIM (Modem interface) */
|
||||||
|
|
||||||
static MMSim *
|
static MMSim *
|
||||||
modem_create_sim_finish (MMIfaceModem *self,
|
modem_create_sim_finish (MMIfaceModem *self,
|
||||||
@@ -4288,7 +4288,7 @@ unsolicited_registration_events_context_step (UnsolicitedRegistrationEventsConte
|
|||||||
|
|
||||||
/* All done!
|
/* All done!
|
||||||
* If we have any error reported, we'll propagate it. EPS errors take
|
* If we have any error reported, we'll propagate it. EPS errors take
|
||||||
* precendence over PS errors and PS errors take precendence over CS errors. */
|
* precedence over PS errors and PS errors take precedence over CS errors. */
|
||||||
if (ctx->eps_error) {
|
if (ctx->eps_error) {
|
||||||
g_simple_async_result_take_error (ctx->result, ctx->eps_error);
|
g_simple_async_result_take_error (ctx->result, ctx->eps_error);
|
||||||
ctx->eps_error = NULL;
|
ctx->eps_error = NULL;
|
||||||
|
@@ -1494,7 +1494,7 @@ get_updated_consolidated_state (MMIfaceModem *self,
|
|||||||
|
|
||||||
/* Reported subsystem states will be REGISTRATION-related. This means
|
/* Reported subsystem states will be REGISTRATION-related. This means
|
||||||
* that we would only expect a subset of the states being reported for
|
* that we would only expect a subset of the states being reported for
|
||||||
* the subystem. Warn if we get others */
|
* the subsystem. Warn if we get others */
|
||||||
g_warn_if_fail (subsystem_state == MM_MODEM_STATE_ENABLED ||
|
g_warn_if_fail (subsystem_state == MM_MODEM_STATE_ENABLED ||
|
||||||
subsystem_state == MM_MODEM_STATE_SEARCHING ||
|
subsystem_state == MM_MODEM_STATE_SEARCHING ||
|
||||||
subsystem_state == MM_MODEM_STATE_REGISTERED);
|
subsystem_state == MM_MODEM_STATE_REGISTERED);
|
||||||
@@ -2530,7 +2530,7 @@ mm_iface_modem_set_current_modes (MMIfaceModem *self,
|
|||||||
supported = mm_common_mode_combinations_variant_to_garray (
|
supported = mm_common_mode_combinations_variant_to_garray (
|
||||||
mm_gdbus_modem_get_supported_modes (ctx->skeleton));
|
mm_gdbus_modem_get_supported_modes (ctx->skeleton));
|
||||||
|
|
||||||
/* Don't allow mode switchin if only one item given in the supported list */
|
/* Don't allow mode switching if only one item given in the supported list */
|
||||||
if (supported->len == 1) {
|
if (supported->len == 1) {
|
||||||
g_simple_async_result_set_error (ctx->result,
|
g_simple_async_result_set_error (ctx->result,
|
||||||
MM_CORE_ERROR,
|
MM_CORE_ERROR,
|
||||||
|
@@ -1728,7 +1728,7 @@ mm_serial_port_class_init (MMSerialPortClass *klass)
|
|||||||
(object_class, PROP_FD,
|
(object_class, PROP_FD,
|
||||||
g_param_spec_int (MM_SERIAL_PORT_FD,
|
g_param_spec_int (MM_SERIAL_PORT_FD,
|
||||||
"File descriptor",
|
"File descriptor",
|
||||||
"Fiel descriptor",
|
"File descriptor",
|
||||||
-1, G_MAXINT, -1,
|
-1, G_MAXINT, -1,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user