*: Spelling fixes

This commit is contained in:
Ville Skyttä
2018-01-25 09:52:12 +01:00
committed by Aleksander Morgado
parent 223b754fcc
commit 90b89bb9f4
22 changed files with 55 additions and 55 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ struct _MMBaseCallClass {
GType mm_base_call_get_type (void);
/* This one can be overriden by plugins */
/* This one can be overridden by plugins */
MMBaseCall *mm_base_call_new (MMBaseModem *modem);
MMBaseCall *mm_base_call_new_from_properties (MMBaseModem *modem,
MMCallProperties *properties,
+1 -1
View File
@@ -30,7 +30,7 @@ abort_async_if_port_unusable (MMBaseModem *self,
GError *error = NULL;
gboolean init_sequence_enabled = FALSE;
/* If no port given, probably the port dissapeared */
/* If no port given, probably the port disappeared */
if (!port) {
g_simple_async_report_error_in_idle (
G_OBJECT (self),
+1 -1
View File
@@ -81,7 +81,7 @@ struct _MMBaseSmsClass {
GType mm_base_sms_get_type (void);
/* This one can be overriden by plugins */
/* This one can be overridden by plugins */
MMBaseSms *mm_base_sms_new (MMBaseModem *modem);
MMBaseSms *mm_base_sms_new_from_properties (MMBaseModem *modem,
MMSmsProperties *properties,
+1 -1
View File
@@ -596,7 +596,7 @@ build_start_network_input (ConnectContext *ctx)
/* Need to add auth info? */
if (has_user || has_password || ctx->auth != QMI_WDS_AUTHENTICATION_NONE) {
/* We define a valid auth preference if we have either user or password, or a explicit
/* We define a valid auth preference if we have either user or password, or an explicit
* request for one to be set. If no explicit one was given, default to PAP. */
qmi_message_wds_start_network_input_set_authentication_preference (
input,
+1 -1
View File
@@ -3114,7 +3114,7 @@ dms_set_operating_mode_ready (QmiClientDms *client,
* Some new devices, like the Dell DW5770, will return an internal error when
* trying to bring the power mode to online.
*
* Other devices, like some rebranded EM7455 modules, will return a "invalid
* Other devices, like some rebranded EM7455 modules, will return an "invalid
* transition" instead when trying to bring the power mode to online.
*
* We can avoid this by sending the magic "DMS Set FCC Auth" message before
+1 -1
View File
@@ -4380,7 +4380,7 @@ setup_sim_hot_swap_ready (MMIfaceModem *self,
mm_warn ("Iface modem: SIM hot swap setup failed: '%s'", error->message);
g_error_free (error);
} else {
mm_dbg ("Iface modem: SIM hot swap setup succeded");
mm_dbg ("Iface modem: SIM hot swap setup succeeded");
g_object_set (self,
MM_IFACE_MODEM_SIM_HOT_SWAP_CONFIGURED, TRUE,
NULL);
+2 -2
View File
@@ -2668,7 +2668,7 @@ mm_3gpp_parse_cpms_query_response (const gchar *reply,
if (!g_regex_match (r, reply, 0, &match_info)) {
g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED,
"Could not parse CPMS query reponse '%s'", reply);
"Could not parse CPMS query response '%s'", reply);
goto end;
}
@@ -4005,7 +4005,7 @@ mm_cdma_get_index_from_rm_protocol (MMModemCdmaRmProtocol protocol,
return 0;
}
/* just substracting 1 from the enum value should give us the index */
/* just subtracting 1 from the enum value should give us the index */
return (protocol - 1);
}
+2 -2
View File
@@ -637,7 +637,7 @@ port_context_run (MMPluginManager *self,
* cancellation error, regardless of what the standard logic does. */
port_context->cancellable = g_cancellable_new ();
/* Create a inner task for the port context. The result we expect is the
/* Create an inner task for the port context. The result we expect is the
* best plugin found for the port. */
port_context->task = g_task_new (self, port_context->cancellable, callback, user_data);
@@ -1308,7 +1308,7 @@ device_context_run (MMPluginManager *self,
* cancellation error, regardless of what the standard logic does. */
device_context->cancellable = g_cancellable_new ();
/* Create a inner task for the device context. We'll complete this task when
/* Create an inner task for the device context. We'll complete this task when
* the last port has been probed. */
device_context->task = g_task_new (self, device_context->cancellable, callback, user_data);
}
+1 -1
View File
@@ -39,7 +39,7 @@
G_DEFINE_TYPE (MMPlugin, mm_plugin, G_TYPE_OBJECT)
/* Virtual port corresponding to the embeded modem */
/* Virtual port corresponding to the embedded modem */
static gchar *virtual_port[] = {"smd0", NULL};
#define HAS_POST_PROBING_FILTERS(self) \
+1 -1
View File
@@ -751,7 +751,7 @@ mm_sms_part_3gpp_new_from_binary_pdu (guint index,
* @address: the phone number to encode
* @buf: the buffer to encode @address in
* @buflen: the size of @buf
* @is_smsc: if %TRUE encode size as number of octets of address infromation,
* @is_smsc: if %TRUE encode size as number of octets of address information,
* otherwise if %FALSE encode size as number of digits of @address
*
* Returns: the size in bytes of the data added to @buf