*: Spelling fixes

This commit is contained in:
Ville Skyttä
2018-01-24 20:16:44 +02:00
committed by Aleksander Morgado
parent 223b754fcc
commit 90b89bb9f4
22 changed files with 55 additions and 55 deletions

2
TODO
View File

@@ -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 Therefore, looking for ways to mitigate probing time in the specific bad cases
is a good way of minimizing this problem. Some ideas: 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. probing for AT.

View File

@@ -132,7 +132,7 @@
<link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem-Simple.Connect"> <link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem-Simple.Connect">
<literal>Connect()</literal> <literal>Connect()</literal>
</link> </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 it connected, while the
<link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem-Simple.Disconnect"> <link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem-Simple.Disconnect">
<literal>Disconnect()</literal> <literal>Disconnect()</literal>

View File

@@ -37,7 +37,7 @@
/* Public header with errors */ /* Public header with errors */
#include <ModemManager-errors.h> #include <ModemManager-errors.h>
/* Public header with compability types and methods */ /* Public header with compatibility types and methods */
#include <ModemManager-compat.h> #include <ModemManager-compat.h>
/* Public header with version info */ /* Public header with version info */

View File

@@ -416,7 +416,7 @@ mm_bearer_properties_get_dictionary (MMBearerProperties *self)
* @value: the value string. * @value: the value string.
* @error: (allow-none): Return location for error or %NULL. * @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 gboolean
mm_bearer_properties_consume_string (MMBearerProperties *self, mm_bearer_properties_consume_string (MMBearerProperties *self,
@@ -534,7 +534,7 @@ mm_bearer_properties_new_from_string (const gchar *str,
* @value: a #GVariant * @value: a #GVariant
* @error: (allow-none): Return location for error or %NULL. * @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 gboolean
mm_bearer_properties_consume_variant (MMBearerProperties *properties, mm_bearer_properties_consume_variant (MMBearerProperties *properties,

View File

@@ -659,7 +659,7 @@ mm_bearer_peek_stats (MMBearer *self)
* *
* Finishes an operation started with mm_bearer_connect(). * 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 gboolean
mm_bearer_connect_finish (MMBearer *self, 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. * The calling thread is blocked until a reply is received.
* See mm_bearer_connect() for the asynchronous version of this method. * 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 gboolean
mm_bearer_connect_sync (MMBearer *self, mm_bearer_connect_sync (MMBearer *self,
@@ -756,7 +756,7 @@ mm_bearer_disconnect (MMBearer *self,
* *
* Finishes an operation started with mm_bearer_disconnect(). * 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 gboolean
mm_bearer_disconnect_finish (MMBearer *self, 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. * The calling thread is blocked until a reply is received.
* See mm_bearer_disconnect() for the asynchronous version of this method. * 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 gboolean
mm_bearer_disconnect_sync (MMBearer *self, mm_bearer_disconnect_sync (MMBearer *self,

View File

@@ -184,7 +184,7 @@ mm_call_get_state_reason (MMCall *self)
* *
* Finishes an operation started with mm_call_start(). * 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 gboolean
mm_call_start_finish (MMCall *self, 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. * The calling thread is blocked until a reply is received.
* See mm_call_start() for the asynchronous version of this method. * 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 gboolean
mm_call_start_sync (MMCall *self, mm_call_start_sync (MMCall *self,
@@ -263,7 +263,7 @@ mm_call_start_sync (MMCall *self,
* *
* Finishes an operation started with mm_call_accept(). * 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 gboolean
mm_call_accept_finish (MMCall *self, 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. * The calling thread is blocked until an incoming call is ready.
* See mm_call_accept() for the asynchronous version of this method. * 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 gboolean
mm_call_accept_sync (MMCall *self, mm_call_accept_sync (MMCall *self,
@@ -342,7 +342,7 @@ mm_call_accept_sync (MMCall *self,
* *
* Finishes an operation started with mm_call_hangup(). * 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 gboolean
mm_call_hangup_finish (MMCall *self, 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. * The calling thread is blocked until an incoming call is ready.
* See mm_call_hangup() for the asynchronous version of this method. * 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 gboolean
mm_call_hangup_sync (MMCall *self, 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(). * 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 gboolean
mm_call_send_dtmf_finish (MMCall *self, 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. * The calling thread is blocked until an incoming call is ready.
* See mm_call_send_dtmf() for the asynchronous version of this method. * 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 gboolean
mm_call_send_dtmf_sync (MMCall *self, mm_call_send_dtmf_sync (MMCall *self,

View File

@@ -269,7 +269,7 @@ mm_manager_get_proxy (MMManager *manager)
* *
* Finishes an operation started with mm_manager_set_logging(). * 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 gboolean
mm_manager_set_logging_finish (MMManager *manager, 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. * 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 gboolean
mm_manager_set_logging_sync (MMManager *manager, 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(). * 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 gboolean
mm_manager_scan_devices_finish (MMManager *manager, 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. * 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 gboolean
mm_manager_scan_devices_sync (MMManager *manager, 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(). * 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 gboolean
mm_manager_report_kernel_event_finish (MMManager *manager, 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. * 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 gboolean
mm_manager_report_kernel_event_sync (MMManager *manager, mm_manager_report_kernel_event_sync (MMManager *manager,

View File

@@ -253,7 +253,7 @@ mm_sim_dup_operator_name (MMSim *self)
* *
* Finishes an operation started with mm_sim_send_pin(). * 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 gboolean
mm_sim_send_pin_finish (MMSim *self, 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. * The calling thread is blocked until a reply is received.
* See mm_sim_send_pin() for the asynchronous version of this method. * 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 gboolean
mm_sim_send_pin_sync (MMSim *self, 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(). * 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 gboolean
mm_sim_send_puk_finish (MMSim *self, 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. * The calling thread is blocked until a reply is received.
* See mm_sim_send_puk() for the asynchronous version of this method. * 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 gboolean
mm_sim_send_puk_sync (MMSim *self, 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(). * 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 gboolean
mm_sim_enable_pin_finish (MMSim *self, 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. * The calling thread is blocked until a reply is received.
* See mm_sim_enable_pin() for the asynchronous version of this method. * 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 gboolean
mm_sim_enable_pin_sync (MMSim *self, 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(). * 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 gboolean
mm_sim_disable_pin_finish (MMSim *self, 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. * The calling thread is blocked until a reply is received.
* See mm_sim_disable_pin() for the asynchronous version of this method. * 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 gboolean
mm_sim_disable_pin_sync (MMSim *self, 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(). * 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 gboolean
mm_sim_change_pin_finish (MMSim *self, 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. * The calling thread is blocked until a reply is received.
* See mm_sim_change_pin() for the asynchronous version of this method. * 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 gboolean
mm_sim_change_pin_sync (MMSim *self, mm_sim_change_pin_sync (MMSim *self,

View File

@@ -614,7 +614,7 @@ mm_sms_get_service_category (MMSms *self)
* *
* Finishes an operation started with mm_sms_send(). * 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 gboolean
mm_sms_send_finish (MMSms *self, 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. * The calling thread is blocked until a reply is received.
* See mm_sms_send() for the asynchronous version of this method. * 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 gboolean
mm_sms_send_sync (MMSms *self, mm_sms_send_sync (MMSms *self,
@@ -693,7 +693,7 @@ mm_sms_send_sync (MMSms *self,
* *
* Finishes an operation started with mm_sms_store(). * 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 gboolean
mm_sms_store_finish (MMSms *self, 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. * The calling thread is blocked until a reply is received.
* See mm_sms_store() for the asynchronous version of this method. * 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 gboolean
mm_sms_store_sync (MMSms *self, mm_sms_store_sync (MMSms *self,

View File

@@ -55,12 +55,12 @@ enum {
DIAG_CMD_NV_READ = 38, /* Read NV item */ DIAG_CMD_NV_READ = 38, /* Read NV item */
DIAG_CMD_NV_WRITE = 39, /* Write NV item */ DIAG_CMD_NV_WRITE = 39, /* Write NV item */
DIAG_CMD_CONTROL = 41, /* Mode change request */ 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_ERR_CLEAR = 43, /* Error record clear */
DIAG_CMD_SER_RESET = 44, /* Symbol error rate counter reset */ DIAG_CMD_SER_RESET = 44, /* Symbol error rate counter reset */
DIAG_CMD_SER_REPORT = 45, /* Symbol error rate counter report */ DIAG_CMD_SER_REPORT = 45, /* Symbol error rate counter report */
DIAG_CMD_TEST = 46, /* Run a specified test */ 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_SET_DIPSW = 48, /* Write new DIP switch setting */
DIAG_CMD_VOC_PCM_LB = 49, /* Start/Stop Vocoder PCM loopback */ DIAG_CMD_VOC_PCM_LB = 49, /* Start/Stop Vocoder PCM loopback */
DIAG_CMD_VOC_PKT_LB = 50, /* Start/Stop Vocoder PKT loopback */ DIAG_CMD_VOC_PKT_LB = 50, /* Start/Stop Vocoder PKT loopback */

View File

@@ -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 /* 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) { if (g_strcmp0 ("", response) == 0) {
return g_strdup (""); return g_strdup ("");

View File

@@ -142,7 +142,7 @@ mm_telit_get_band_flag (GArray *bands_array,
* AT#BND=? * AT#BND=?
* #BND: <2G band flags range>,<3G band flags range>[, <4G band flags range>] * #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. * Note that the one Telit band flag may represent more than one MM band.
* *
* e.g. * e.g.
@@ -176,7 +176,7 @@ mm_telit_get_band_flag (GArray *bands_array,
* AT#BND? * AT#BND?
* #BND: <2G band flags>,<3G band flags>[, <4G band flags>] * #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. * Note that the one Telit band flag may represent more than one MM band.
* *
* e.g. * e.g.
@@ -216,7 +216,7 @@ mm_telit_parse_bnd_response (const gchar *response,
if (!g_regex_match (r, response, 0, &match_info)) { if (!g_regex_match (r, response, 0, &match_info)) {
g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED, 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; goto end;
} }

View File

@@ -91,7 +91,7 @@ struct _MMBaseCallClass {
GType mm_base_call_get_type (void); 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 (MMBaseModem *modem);
MMBaseCall *mm_base_call_new_from_properties (MMBaseModem *modem, MMBaseCall *mm_base_call_new_from_properties (MMBaseModem *modem,
MMCallProperties *properties, MMCallProperties *properties,

View File

@@ -30,7 +30,7 @@ abort_async_if_port_unusable (MMBaseModem *self,
GError *error = NULL; GError *error = NULL;
gboolean init_sequence_enabled = FALSE; gboolean init_sequence_enabled = FALSE;
/* If no port given, probably the port dissapeared */ /* If no port given, probably the port disappeared */
if (!port) { if (!port) {
g_simple_async_report_error_in_idle ( g_simple_async_report_error_in_idle (
G_OBJECT (self), G_OBJECT (self),

View File

@@ -81,7 +81,7 @@ struct _MMBaseSmsClass {
GType mm_base_sms_get_type (void); 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 (MMBaseModem *modem);
MMBaseSms *mm_base_sms_new_from_properties (MMBaseModem *modem, MMBaseSms *mm_base_sms_new_from_properties (MMBaseModem *modem,
MMSmsProperties *properties, MMSmsProperties *properties,

View File

@@ -596,7 +596,7 @@ build_start_network_input (ConnectContext *ctx)
/* Need to add auth info? */ /* Need to add auth info? */
if (has_user || has_password || ctx->auth != QMI_WDS_AUTHENTICATION_NONE) { 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. */ * request for one to be set. If no explicit one was given, default to PAP. */
qmi_message_wds_start_network_input_set_authentication_preference ( qmi_message_wds_start_network_input_set_authentication_preference (
input, input,

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 * Some new devices, like the Dell DW5770, will return an internal error when
* trying to bring the power mode to online. * 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. * 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 * We can avoid this by sending the magic "DMS Set FCC Auth" message before

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); mm_warn ("Iface modem: SIM hot swap setup failed: '%s'", error->message);
g_error_free (error); g_error_free (error);
} else { } else {
mm_dbg ("Iface modem: SIM hot swap setup succeded"); mm_dbg ("Iface modem: SIM hot swap setup succeeded");
g_object_set (self, g_object_set (self,
MM_IFACE_MODEM_SIM_HOT_SWAP_CONFIGURED, TRUE, MM_IFACE_MODEM_SIM_HOT_SWAP_CONFIGURED, TRUE,
NULL); NULL);

View File

@@ -2668,7 +2668,7 @@ mm_3gpp_parse_cpms_query_response (const gchar *reply,
if (!g_regex_match (r, reply, 0, &match_info)) { if (!g_regex_match (r, reply, 0, &match_info)) {
g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED, 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; goto end;
} }
@@ -4005,7 +4005,7 @@ mm_cdma_get_index_from_rm_protocol (MMModemCdmaRmProtocol protocol,
return 0; 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); return (protocol - 1);
} }

View File

@@ -637,7 +637,7 @@ port_context_run (MMPluginManager *self,
* cancellation error, regardless of what the standard logic does. */ * cancellation error, regardless of what the standard logic does. */
port_context->cancellable = g_cancellable_new (); 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. */ * best plugin found for the port. */
port_context->task = g_task_new (self, port_context->cancellable, callback, user_data); 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. */ * cancellation error, regardless of what the standard logic does. */
device_context->cancellable = g_cancellable_new (); 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. */ * the last port has been probed. */
device_context->task = g_task_new (self, device_context->cancellable, callback, user_data); device_context->task = g_task_new (self, device_context->cancellable, callback, user_data);
} }

View File

@@ -39,7 +39,7 @@
G_DEFINE_TYPE (MMPlugin, mm_plugin, G_TYPE_OBJECT) 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}; static gchar *virtual_port[] = {"smd0", NULL};
#define HAS_POST_PROBING_FILTERS(self) \ #define HAS_POST_PROBING_FILTERS(self) \

View File

@@ -751,7 +751,7 @@ mm_sms_part_3gpp_new_from_binary_pdu (guint index,
* @address: the phone number to encode * @address: the phone number to encode
* @buf: the buffer to encode @address in * @buf: the buffer to encode @address in
* @buflen: the size of @buf * @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 * otherwise if %FALSE encode size as number of digits of @address
* *
* Returns: the size in bytes of the data added to @buf * Returns: the size in bytes of the data added to @buf