Merge request !1309 from 'codespell'

Fix some typos on the source code

https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1309
This commit is contained in:
Dan Williams
2025-03-05 17:00:59 +00:00
8 changed files with 13 additions and 13 deletions
+4 -4
View File
@@ -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,
@@ -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.
+1 -1
View File
@@ -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);
+2 -2
View File
@@ -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");
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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);
}
}
+2 -2
View File
@@ -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");
+1 -1
View File
@@ -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);