trivial: fix whitespace and spelling error
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
@@ -1839,8 +1839,8 @@ add_device (NMManager *self, NMDevice *device, gboolean generate_con)
|
|||||||
priv->devices = g_slist_append (priv->devices, device);
|
priv->devices = g_slist_append (priv->devices, device);
|
||||||
|
|
||||||
g_signal_connect (device, "state-changed",
|
g_signal_connect (device, "state-changed",
|
||||||
G_CALLBACK (manager_device_state_changed),
|
G_CALLBACK (manager_device_state_changed),
|
||||||
self);
|
self);
|
||||||
|
|
||||||
g_signal_connect (device, NM_DEVICE_AUTH_REQUEST,
|
g_signal_connect (device, NM_DEVICE_AUTH_REQUEST,
|
||||||
G_CALLBACK (device_auth_request_cb),
|
G_CALLBACK (device_auth_request_cb),
|
||||||
@@ -2918,7 +2918,7 @@ _new_vpn_active_connection (NMManager *self,
|
|||||||
NMDevice *device = NULL;
|
NMDevice *device = NULL;
|
||||||
|
|
||||||
if (specific_object) {
|
if (specific_object) {
|
||||||
/* Find the specifc connection the client requested we use */
|
/* Find the specific connection the client requested we use */
|
||||||
parent = active_connection_get_by_path (self, specific_object);
|
parent = active_connection_get_by_path (self, specific_object);
|
||||||
if (!parent) {
|
if (!parent) {
|
||||||
g_set_error_literal (error, NM_MANAGER_ERROR, NM_MANAGER_ERROR_CONNECTION_NOT_ACTIVE,
|
g_set_error_literal (error, NM_MANAGER_ERROR, NM_MANAGER_ERROR_CONNECTION_NOT_ACTIVE,
|
||||||
@@ -3415,7 +3415,7 @@ impl_manager_add_and_activate_connection (NMManager *self,
|
|||||||
|
|
||||||
/* Try to create a new connection with the given settings.
|
/* Try to create a new connection with the given settings.
|
||||||
* We allow empty settings for AddAndActivateConnection(). In that case,
|
* We allow empty settings for AddAndActivateConnection(). In that case,
|
||||||
* the connection will be completed in nm_utils_complete_generic() or
|
* the connection will be completed in nm_utils_complete_generic() or
|
||||||
* nm_device_complete_connection() below. Just make sure we don't expect
|
* nm_device_complete_connection() below. Just make sure we don't expect
|
||||||
* specific data being in the connection till then (especially in
|
* specific data being in the connection till then (especially in
|
||||||
* validate_activation_request()).
|
* validate_activation_request()).
|
||||||
|
@@ -98,7 +98,7 @@ nl80211_alloc_msg (WifiDataNl80211 *nl80211, guint32 cmd, guint32 flags)
|
|||||||
|
|
||||||
/* NOTE: this function consumes 'msg' */
|
/* NOTE: this function consumes 'msg' */
|
||||||
static int
|
static int
|
||||||
_nl80211_send_and_recv (struct nl_sock *nl_sock,
|
_nl80211_send_and_recv (struct nl_sock *nl_sock,
|
||||||
struct nl_cb *nl_cb,
|
struct nl_cb *nl_cb,
|
||||||
struct nl_msg *msg,
|
struct nl_msg *msg,
|
||||||
int (*valid_handler)(struct nl_msg *, void *),
|
int (*valid_handler)(struct nl_msg *, void *),
|
||||||
|
Reference in New Issue
Block a user