aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2025-03-05 17:00:59 +0000
committerDan Williams <dan@ioncontrol.co>2025-03-05 17:00:59 +0000
commitc393a917c1095ec07b6da1d9e8460501059544c0 (patch)
tree77c076650873e976fb6b23e6872a20d64e165352
parentead9951ea61004bc14687cd4c93a83eb0956113f (diff)
parent54dcc25d8bf1f6cd050360a15d3b475ee92881a2 (diff)
Merge request !1309 from 'codespell'
Fix some typos on the source code https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1309
-rw-r--r--cli/mmcli-modem.c8
-rw-r--r--introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.ProfileManager.xml2
-rw-r--r--src/mm-base-bearer.c2
-rw-r--r--src/mm-broadband-modem-mbim.c4
-rw-r--r--src/mm-broadband-modem-qmi.c2
-rw-r--r--src/mm-iface-modem-signal.c2
-rw-r--r--src/mm-iface-modem.c4
-rw-r--r--src/mm-port-qmi.c2
8 files changed, 13 insertions, 13 deletions
diff --git a/cli/mmcli-modem.c b/cli/mmcli-modem.c
index 2c17f5b4..4d806ef5 100644
--- a/cli/mmcli-modem.c
+++ b/cli/mmcli-modem.c
@@ -1131,7 +1131,7 @@ get_modem_ready (GObject *source,
/* Request to reset the modem? */
if (reset_flag) {
- g_debug ("Asynchronously reseting modem...");
+ g_debug ("Asynchronously resetting modem...");
mm_modem_reset (ctx->modem,
ctx->cancellable,
(GAsyncReadyCallback)reset_ready,
@@ -1141,7 +1141,7 @@ get_modem_ready (GObject *source,
/* Request to reset the modem to factory state? */
if (factory_reset_str) {
- g_debug ("Asynchronously factory-reseting modem...");
+ g_debug ("Asynchronously factory-resetting modem...");
mm_modem_factory_reset (ctx->modem,
factory_reset_str,
ctx->cancellable,
@@ -1384,7 +1384,7 @@ mmcli_modem_run_synchronous (GDBusConnection *connection)
if (reset_flag) {
gboolean result;
- g_debug ("Synchronously reseting modem...");
+ g_debug ("Synchronously resetting modem...");
result = mm_modem_reset_sync (ctx->modem, NULL, &error);
reset_process_reply (result, error);
return;
@@ -1394,7 +1394,7 @@ mmcli_modem_run_synchronous (GDBusConnection *connection)
if (factory_reset_str) {
gboolean result;
- g_debug ("Synchronously factory-reseting modem...");
+ g_debug ("Synchronously factory-resetting modem...");
result = mm_modem_factory_reset_sync (ctx->modem,
factory_reset_str,
NULL,
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.ProfileManager.xml b/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.ProfileManager.xml
index d554af9e..db001d25 100644
--- a/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.ProfileManager.xml
+++ b/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.ProfileManager.xml
@@ -112,7 +112,7 @@
allows the user to easily request the deletion of a profile that has been
provided in the List() operation.
- This method may just clear the existing profiles (i.e. reseting all the
+ This method may just clear the existing profiles (i.e. resetting all the
properties to defaults) instead of fully removing them if the profiles
cannot be fully removed. In this case, the method will succeed, but the
size of the list of profiles will not change.
diff --git a/src/mm-base-bearer.c b/src/mm-base-bearer.c
index d199e2ac..52e8db02 100644
--- a/src/mm-base-bearer.c
+++ b/src/mm-base-bearer.c
@@ -519,7 +519,7 @@ bearer_update_status (MMBaseBearer *self,
if (self->priv->status == MM_BEARER_STATUS_DISCONNECTED) {
g_autoptr(GString) report = NULL;
- /* Report disconnection via dispatcher scripts, before reseting the interface */
+ /* Report disconnection via dispatcher scripts, before resetting the interface */
bearer_run_dispatcher_scripts (self, FALSE);
bearer_reset_interface_status (self);
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c
index 82a7b574..47f3799b 100644
--- a/src/mm-broadband-modem-mbim.c
+++ b/src/mm-broadband-modem-mbim.c
@@ -717,7 +717,7 @@ load_supported_capabilities_mbim (GTask *task)
if (!supported)
g_task_return_new_error (task, MM_CORE_ERROR, MM_CORE_ERROR_FAILED,
- "Couldn't load supported capabilities: no previously catched current capabilities");
+ "Couldn't load supported capabilities: no previously cached current capabilities");
else
g_task_return_pointer (task, supported, (GDestroyNotify) g_array_unref);
g_object_unref (task);
@@ -3612,7 +3612,7 @@ initialization_reset_ports (GTask *task)
self = g_task_get_source_object (task);
- /* reseting the data interfaces is really only needed if the device
+ /* resetting the data interfaces is really only needed if the device
* hasn't been hotplugged */
if (mm_base_modem_get_hotplugged (MM_BASE_MODEM (self))) {
mm_obj_dbg (self, "not running data interface reset procedure: device is hotplugged");
diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c
index 08a435c4..7359fccb 100644
--- a/src/mm-broadband-modem-qmi.c
+++ b/src/mm-broadband-modem-qmi.c
@@ -13898,7 +13898,7 @@ initialization_reset_ports (GTask *task)
self = g_task_get_source_object (task);
- /* reseting the data interfaces is really only needed if the device
+ /* resetting the data interfaces is really only needed if the device
* hasn't been hotplugged */
if (mm_base_modem_get_hotplugged (MM_BASE_MODEM (self))) {
mm_obj_dbg (self, "not running data interface reset procedure: device is hotplugged");
diff --git a/src/mm-iface-modem-signal.c b/src/mm-iface-modem-signal.c
index b2a7fe61..da37921b 100644
--- a/src/mm-iface-modem-signal.c
+++ b/src/mm-iface-modem-signal.c
@@ -214,7 +214,7 @@ check_interface_reset (MMIfaceModemSignal *self)
priv = get_private (self);
if (!priv->enabled || (!priv->rate && !priv->rssi_threshold && !priv->error_rate_threshold)) {
- mm_obj_dbg (self, "reseting extended signal information...");
+ mm_obj_dbg (self, "resetting extended signal information...");
internal_signal_update (self, NULL, NULL, NULL, NULL, NULL, NULL);
}
}
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index 63996fb5..92ff8214 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -2608,7 +2608,7 @@ handle_reset_auth_ready (MMBaseModem *self,
return;
}
- /* If reseting is not implemented, report an error */
+ /* If resetting is not implemented, report an error */
if (!MM_IFACE_MODEM_GET_IFACE (self)->reset || !MM_IFACE_MODEM_GET_IFACE (self)->reset_finish) {
mm_dbus_method_invocation_return_error_literal (ctx->invocation, MM_CORE_ERROR, MM_CORE_ERROR_UNSUPPORTED,
"Operation not supported");
@@ -2701,7 +2701,7 @@ handle_factory_reset_auth_ready (MMBaseModem *self,
return;
}
- /* If reseting is not implemented, report an error */
+ /* If resetting is not implemented, report an error */
if (!MM_IFACE_MODEM_GET_IFACE (self)->factory_reset || !MM_IFACE_MODEM_GET_IFACE (self)->factory_reset_finish) {
mm_dbus_method_invocation_return_error_literal (ctx->invocation, MM_CORE_ERROR, MM_CORE_ERROR_UNSUPPORTED,
"Operation not supported");
diff --git a/src/mm-port-qmi.c b/src/mm-port-qmi.c
index 38703bc2..ff9ba282 100644
--- a/src/mm-port-qmi.c
+++ b/src/mm-port-qmi.c
@@ -945,7 +945,7 @@ delete_all_links_ready (QmiDevice *device,
/* expected data format only applicable to qmi_wwan */
if (g_strcmp0 (self->priv->net_driver, "qmi_wwan") == 0) {
- mm_obj_dbg (self, "reseting expected kernel data format to 802.3 in data interface '%s'",
+ mm_obj_dbg (self, "resetting expected kernel data format to 802.3 in data interface '%s'",
mm_port_get_device (MM_PORT (ctx->data)));
if (!qmi_device_set_expected_data_format (ctx->device, QMI_DEVICE_EXPECTED_DATA_FORMAT_802_3, &error)) {
g_task_return_error (task, error);