aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--docs/reference/api/ModemManager-migration-reference.xml2
-rw-r--r--include/ModemManager.h2
-rw-r--r--libmm-glib/mm-bearer-properties.c4
-rw-r--r--libmm-glib/mm-bearer.c8
-rw-r--r--libmm-glib/mm-call.c16
-rw-r--r--libmm-glib/mm-manager.c12
-rw-r--r--libmm-glib/mm-sim.c20
-rw-r--r--libmm-glib/mm-sms.c8
-rw-r--r--libqcdm/src/dm-commands.h4
-rw-r--r--plugins/altair/mm-modem-helpers-altair-lte.c2
-rw-r--r--plugins/telit/mm-modem-helpers-telit.c6
-rw-r--r--src/mm-base-call.h2
-rw-r--r--src/mm-base-modem-at.c2
-rw-r--r--src/mm-base-sms.h2
-rw-r--r--src/mm-bearer-qmi.c2
-rw-r--r--src/mm-broadband-modem-qmi.c2
-rw-r--r--src/mm-iface-modem.c2
-rw-r--r--src/mm-modem-helpers.c4
-rw-r--r--src/mm-plugin-manager.c4
-rw-r--r--src/mm-plugin.c2
-rw-r--r--src/mm-sms-part-3gpp.c2
22 files changed, 55 insertions, 55 deletions
diff --git a/TODO b/TODO
index 7851551b..d0925b61 100644
--- a/TODO
+++ b/TODO
@@ -18,7 +18,7 @@ initialization sequence, as we want to use the primary port for that always).
Therefore, looking for ways to mitigate probing time in the specific bad cases
is a good way of minimizing this problem. Some ideas:
- ** If one AT probing suceeds, don't allow timeouts in remaining ports when
+ ** If one AT probing succeeds, don't allow timeouts in remaining ports when
probing for AT.
diff --git a/docs/reference/api/ModemManager-migration-reference.xml b/docs/reference/api/ModemManager-migration-reference.xml
index 89670b5f..5e45b89b 100644
--- a/docs/reference/api/ModemManager-migration-reference.xml
+++ b/docs/reference/api/ModemManager-migration-reference.xml
@@ -132,7 +132,7 @@
<link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem-Simple.Connect">
<literal>Connect()</literal>
</link>
- method will create a single bearer with the parameters specified in the call an get
+ method will create a single bearer with the parameters specified in the call and get
it connected, while the
<link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem-Simple.Disconnect">
<literal>Disconnect()</literal>
diff --git a/include/ModemManager.h b/include/ModemManager.h
index 3db9a664..822a2e98 100644
--- a/include/ModemManager.h
+++ b/include/ModemManager.h
@@ -37,7 +37,7 @@
/* Public header with errors */
#include <ModemManager-errors.h>
-/* Public header with compability types and methods */
+/* Public header with compatibility types and methods */
#include <ModemManager-compat.h>
/* Public header with version info */
diff --git a/libmm-glib/mm-bearer-properties.c b/libmm-glib/mm-bearer-properties.c
index c87068ff..0be48774 100644
--- a/libmm-glib/mm-bearer-properties.c
+++ b/libmm-glib/mm-bearer-properties.c
@@ -416,7 +416,7 @@ mm_bearer_properties_get_dictionary (MMBearerProperties *self)
* @value: the value string.
* @error: (allow-none): Return location for error or %NULL.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_bearer_properties_consume_string (MMBearerProperties *self,
@@ -534,7 +534,7 @@ mm_bearer_properties_new_from_string (const gchar *str,
* @value: a #GVariant
* @error: (allow-none): Return location for error or %NULL.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_bearer_properties_consume_variant (MMBearerProperties *properties,
diff --git a/libmm-glib/mm-bearer.c b/libmm-glib/mm-bearer.c
index 5f65b68f..c45bb2b1 100644
--- a/libmm-glib/mm-bearer.c
+++ b/libmm-glib/mm-bearer.c
@@ -659,7 +659,7 @@ mm_bearer_peek_stats (MMBearer *self)
*
* Finishes an operation started with mm_bearer_connect().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_bearer_connect_finish (MMBearer *self,
@@ -709,7 +709,7 @@ mm_bearer_connect (MMBearer *self,
* The calling thread is blocked until a reply is received.
* See mm_bearer_connect() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_bearer_connect_sync (MMBearer *self,
@@ -756,7 +756,7 @@ mm_bearer_disconnect (MMBearer *self,
*
* Finishes an operation started with mm_bearer_disconnect().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_bearer_disconnect_finish (MMBearer *self,
@@ -779,7 +779,7 @@ mm_bearer_disconnect_finish (MMBearer *self,
* The calling thread is blocked until a reply is received.
* See mm_bearer_disconnect() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_bearer_disconnect_sync (MMBearer *self,
diff --git a/libmm-glib/mm-call.c b/libmm-glib/mm-call.c
index 58731a2f..92689f85 100644
--- a/libmm-glib/mm-call.c
+++ b/libmm-glib/mm-call.c
@@ -184,7 +184,7 @@ mm_call_get_state_reason (MMCall *self)
*
* Finishes an operation started with mm_call_start().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_call_start_finish (MMCall *self,
@@ -239,7 +239,7 @@ mm_call_start (MMCall *self,
* The calling thread is blocked until a reply is received.
* See mm_call_start() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_call_start_sync (MMCall *self,
@@ -263,7 +263,7 @@ mm_call_start_sync (MMCall *self,
*
* Finishes an operation started with mm_call_accept().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_call_accept_finish (MMCall *self,
@@ -318,7 +318,7 @@ mm_call_accept (MMCall *self,
* The calling thread is blocked until an incoming call is ready.
* See mm_call_accept() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_call_accept_sync (MMCall *self,
@@ -342,7 +342,7 @@ mm_call_accept_sync (MMCall *self,
*
* Finishes an operation started with mm_call_hangup().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_call_hangup_finish (MMCall *self,
@@ -397,7 +397,7 @@ mm_call_hangup (MMCall *self,
* The calling thread is blocked until an incoming call is ready.
* See mm_call_hangup() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_call_hangup_sync (MMCall *self,
@@ -421,7 +421,7 @@ mm_call_hangup_sync (MMCall *self,
*
* Finishes an operation started with mm_call_send_dtmf().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_call_send_dtmf_finish (MMCall *self,
@@ -480,7 +480,7 @@ mm_call_send_dtmf (MMCall *self,
* The calling thread is blocked until an incoming call is ready.
* See mm_call_send_dtmf() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_call_send_dtmf_sync (MMCall *self,
diff --git a/libmm-glib/mm-manager.c b/libmm-glib/mm-manager.c
index 2fc08cbb..aa46a0e9 100644
--- a/libmm-glib/mm-manager.c
+++ b/libmm-glib/mm-manager.c
@@ -269,7 +269,7 @@ mm_manager_get_proxy (MMManager *manager)
*
* Finishes an operation started with mm_manager_set_logging().
*
- * Returns: %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the call succeeded, %FALSE if @error is set.
*/
gboolean
mm_manager_set_logging_finish (MMManager *manager,
@@ -355,7 +355,7 @@ mm_manager_set_logging (MMManager *manager,
*
* See mm_manager_set_logging() for the asynchronous version of this method.
*
- * Returns: %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the call succeeded, %FALSE if @error is set.
*/
gboolean
mm_manager_set_logging_sync (MMManager *manager,
@@ -385,7 +385,7 @@ mm_manager_set_logging_sync (MMManager *manager,
*
* Finishes an operation started with mm_manager_scan_devices().
*
- * Returns: %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the call succeeded, %FALSE if @error is set.
*/
gboolean
mm_manager_scan_devices_finish (MMManager *manager,
@@ -467,7 +467,7 @@ mm_manager_scan_devices (MMManager *manager,
*
* See mm_manager_scan_devices() for the asynchronous version of this method.
*
- * Returns: %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the call succeeded, %FALSE if @error is set.
*/
gboolean
mm_manager_scan_devices_sync (MMManager *manager,
@@ -495,7 +495,7 @@ mm_manager_scan_devices_sync (MMManager *manager,
*
* Finishes an operation started with mm_manager_report_kernel_event().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_manager_report_kernel_event_finish (MMManager *manager,
@@ -583,7 +583,7 @@ mm_manager_report_kernel_event (MMManager *manager,
*
* See mm_manager_report_kernel_event() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_manager_report_kernel_event_sync (MMManager *manager,
diff --git a/libmm-glib/mm-sim.c b/libmm-glib/mm-sim.c
index 74cb3f0b..052f7e59 100644
--- a/libmm-glib/mm-sim.c
+++ b/libmm-glib/mm-sim.c
@@ -253,7 +253,7 @@ mm_sim_dup_operator_name (MMSim *self)
*
* Finishes an operation started with mm_sim_send_pin().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sim_send_pin_finish (MMSim *self,
@@ -308,7 +308,7 @@ mm_sim_send_pin (MMSim *self,
* The calling thread is blocked until a reply is received.
* See mm_sim_send_pin() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sim_send_pin_sync (MMSim *self,
@@ -334,7 +334,7 @@ mm_sim_send_pin_sync (MMSim *self,
*
* Finishes an operation started with mm_sim_send_puk().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sim_send_puk_finish (MMSim *self,
@@ -393,7 +393,7 @@ mm_sim_send_puk (MMSim *self,
* The calling thread is blocked until a reply is received.
* See mm_sim_send_puk() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sim_send_puk_sync (MMSim *self,
@@ -421,7 +421,7 @@ mm_sim_send_puk_sync (MMSim *self,
*
* Finishes an operation started with mm_sim_enable_pin().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sim_enable_pin_finish (MMSim *self,
@@ -477,7 +477,7 @@ mm_sim_enable_pin (MMSim *self,
* The calling thread is blocked until a reply is received.
* See mm_sim_enable_pin() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sim_enable_pin_sync (MMSim *self,
@@ -504,7 +504,7 @@ mm_sim_enable_pin_sync (MMSim *self,
*
* Finishes an operation started with mm_sim_disable_pin().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sim_disable_pin_finish (MMSim *self,
@@ -560,7 +560,7 @@ mm_sim_disable_pin (MMSim *self,
* The calling thread is blocked until a reply is received.
* See mm_sim_disable_pin() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sim_disable_pin_sync (MMSim *self,
@@ -587,7 +587,7 @@ mm_sim_disable_pin_sync (MMSim *self,
*
* Finishes an operation started with mm_sim_change_pin().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sim_change_pin_finish (MMSim *self,
@@ -646,7 +646,7 @@ mm_sim_change_pin (MMSim *self,
* The calling thread is blocked until a reply is received.
* See mm_sim_change_pin() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sim_change_pin_sync (MMSim *self,
diff --git a/libmm-glib/mm-sms.c b/libmm-glib/mm-sms.c
index 0467b6c1..d7d1b41c 100644
--- a/libmm-glib/mm-sms.c
+++ b/libmm-glib/mm-sms.c
@@ -614,7 +614,7 @@ mm_sms_get_service_category (MMSms *self)
*
* Finishes an operation started with mm_sms_send().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sms_send_finish (MMSms *self,
@@ -669,7 +669,7 @@ mm_sms_send (MMSms *self,
* The calling thread is blocked until a reply is received.
* See mm_sms_send() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sms_send_sync (MMSms *self,
@@ -693,7 +693,7 @@ mm_sms_send_sync (MMSms *self,
*
* Finishes an operation started with mm_sms_store().
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sms_store_finish (MMSms *self,
@@ -752,7 +752,7 @@ mm_sms_store (MMSms *self,
* The calling thread is blocked until a reply is received.
* See mm_sms_store() for the asynchronous version of this method.
*
- * Returns: %TRUE if the operation succeded, %FALSE if @error is set.
+ * Returns: %TRUE if the operation succeeded, %FALSE if @error is set.
*/
gboolean
mm_sms_store_sync (MMSms *self,
diff --git a/libqcdm/src/dm-commands.h b/libqcdm/src/dm-commands.h
index 9a0b2db8..19c2b4bd 100644
--- a/libqcdm/src/dm-commands.h
+++ b/libqcdm/src/dm-commands.h
@@ -55,12 +55,12 @@ enum {
DIAG_CMD_NV_READ = 38, /* Read NV item */
DIAG_CMD_NV_WRITE = 39, /* Write NV item */
DIAG_CMD_CONTROL = 41, /* Mode change request */
- DIAG_CMD_ERR_READ = 42, /* Error record retreival */
+ DIAG_CMD_ERR_READ = 42, /* Error record retrieval */
DIAG_CMD_ERR_CLEAR = 43, /* Error record clear */
DIAG_CMD_SER_RESET = 44, /* Symbol error rate counter reset */
DIAG_CMD_SER_REPORT = 45, /* Symbol error rate counter report */
DIAG_CMD_TEST = 46, /* Run a specified test */
- DIAG_CMD_GET_DIPSW = 47, /* Retreive the current DIP switch setting */
+ DIAG_CMD_GET_DIPSW = 47, /* Retrieve the current DIP switch setting */
DIAG_CMD_SET_DIPSW = 48, /* Write new DIP switch setting */
DIAG_CMD_VOC_PCM_LB = 49, /* Start/Stop Vocoder PCM loopback */
DIAG_CMD_VOC_PKT_LB = 50, /* Start/Stop Vocoder PKT loopback */
diff --git a/plugins/altair/mm-modem-helpers-altair-lte.c b/plugins/altair/mm-modem-helpers-altair-lte.c
index ce652d1b..d5c038f1 100644
--- a/plugins/altair/mm-modem-helpers-altair-lte.c
+++ b/plugins/altair/mm-modem-helpers-altair-lte.c
@@ -77,7 +77,7 @@ mm_altair_parse_ceer_response (const gchar *response,
/* First accept an empty response as the no error case. Sometimes, the only
- * respone to the AT+CEER query is an OK.
+ * response to the AT+CEER query is an OK.
*/
if (g_strcmp0 ("", response) == 0) {
return g_strdup ("");
diff --git a/plugins/telit/mm-modem-helpers-telit.c b/plugins/telit/mm-modem-helpers-telit.c
index e48c2e31..4bf52830 100644
--- a/plugins/telit/mm-modem-helpers-telit.c
+++ b/plugins/telit/mm-modem-helpers-telit.c
@@ -142,7 +142,7 @@ mm_telit_get_band_flag (GArray *bands_array,
* AT#BND=?
* #BND: <2G band flags range>,<3G band flags range>[, <4G band flags range>]
*
- * where "band flags" is a list of numbers definining the supported bands.
+ * where "band flags" is a list of numbers defining the supported bands.
* Note that the one Telit band flag may represent more than one MM band.
*
* e.g.
@@ -176,7 +176,7 @@ mm_telit_get_band_flag (GArray *bands_array,
* AT#BND?
* #BND: <2G band flags>,<3G band flags>[, <4G band flags>]
*
- * where "band flags" is a number definining the current bands.
+ * where "band flags" is a number defining the current bands.
* Note that the one Telit band flag may represent more than one MM band.
*
* e.g.
@@ -216,7 +216,7 @@ mm_telit_parse_bnd_response (const gchar *response,
if (!g_regex_match (r, response, 0, &match_info)) {
g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED,
- "Could not parse reponse '%s'", response);
+ "Could not parse response '%s'", response);
goto end;
}
diff --git a/src/mm-base-call.h b/src/mm-base-call.h
index ff57fb59..f763cc0a 100644
--- a/src/mm-base-call.h
+++ b/src/mm-base-call.h
@@ -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,
diff --git a/src/mm-base-modem-at.c b/src/mm-base-modem-at.c
index 77661e5b..05b3be4d 100644
--- a/src/mm-base-modem-at.c
+++ b/src/mm-base-modem-at.c
@@ -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),
diff --git a/src/mm-base-sms.h b/src/mm-base-sms.h
index 0d4b5bc5..b1e4822e 100644
--- a/src/mm-base-sms.h
+++ b/src/mm-base-sms.h
@@ -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,
diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c
index 5d885d13..1e37666d 100644
--- a/src/mm-bearer-qmi.c
+++ b/src/mm-bearer-qmi.c
@@ -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,
diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c
index 469e6c46..11546795 100644
--- a/src/mm-broadband-modem-qmi.c
+++ b/src/mm-broadband-modem-qmi.c
@@ -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
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index 7236e30b..06441e22 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -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);
diff --git a/src/mm-modem-helpers.c b/src/mm-modem-helpers.c
index 111cc38e..48cd1e16 100644
--- a/src/mm-modem-helpers.c
+++ b/src/mm-modem-helpers.c
@@ -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);
}
diff --git a/src/mm-plugin-manager.c b/src/mm-plugin-manager.c
index a6c8336a..2123bded 100644
--- a/src/mm-plugin-manager.c
+++ b/src/mm-plugin-manager.c
@@ -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);
}
diff --git a/src/mm-plugin.c b/src/mm-plugin.c
index dc9f184d..09810c52 100644
--- a/src/mm-plugin.c
+++ b/src/mm-plugin.c
@@ -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) \
diff --git a/src/mm-sms-part-3gpp.c b/src/mm-sms-part-3gpp.c
index 8e5250c1..7e3f5374 100644
--- a/src/mm-sms-part-3gpp.c
+++ b/src/mm-sms-part-3gpp.c
@@ -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