2020-09-29 16:42:22 +02:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1+ */
|
2018-10-10 17:23:42 +02:00
|
|
|
/*
|
2019-10-01 09:20:35 +02:00
|
|
|
* Copyright (C) 2019 Red Hat, Inc.
|
2018-10-10 17:23:42 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "nm-default.h"
|
|
|
|
|
|
2019-01-28 12:39:38 +01:00
|
|
|
#include "nm-setting-wifi-p2p.h"
|
2018-10-10 17:23:42 +02:00
|
|
|
|
|
|
|
|
#include <net/ethernet.h>
|
|
|
|
|
|
|
|
|
|
#include "nm-utils.h"
|
shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core
"libnm-core" implements common functionality for "NetworkManager" and
"libnm".
Note that clients like "nmcli" cannot access the internal API provided
by "libnm-core". So, if nmcli wants to do something that is also done by
"libnm-core", , "libnm", or "NetworkManager", the code would have to be
duplicated.
Instead, such code can be in "libnm-libnm-core-{intern|aux}.la".
Note that:
0) "libnm-libnm-core-intern.la" is used by libnm-core itsself.
On the other hand, "libnm-libnm-core-aux.la" is not used by
libnm-core, but provides utilities on top of it.
1) they both extend "libnm-core" with utlities that are not public
API of libnm itself. Maybe part of the code should one day become
public API of libnm. On the other hand, this is code for which
we may not want to commit to a stable interface or which we
don't want to provide as part of the API.
2) "libnm-libnm-core-intern.la" is statically linked by "libnm-core"
and thus directly available to "libnm" and "NetworkManager".
On the other hand, "libnm-libnm-core-aux.la" may be used by "libnm"
and "NetworkManager".
Both libraries may be statically linked by libnm clients (like
nmcli).
3) it must only use glib, libnm-glib-aux.la, and the public API
of libnm-core.
This is important: it must not use "libnm-core/nm-core-internal.h"
nor "libnm-core/nm-utils-private.h" so the static library is usable
by nmcli which couldn't access these.
Note that "shared/nm-meta-setting.c" is an entirely different case,
because it behaves differently depending on whether linking against
"libnm-core" or the client programs. As such, this file must be compiled
twice.
(cherry picked from commit af07ed01c04867e281cc3982a7ab0d244d4f8e2e)
2019-04-15 09:26:53 +02:00
|
|
|
#include "nm-libnm-core-intern/nm-common-macros.h"
|
2018-10-10 17:23:42 +02:00
|
|
|
#include "nm-utils-private.h"
|
|
|
|
|
#include "nm-setting-private.h"
|
|
|
|
|
|
|
|
|
|
/**
|
2019-01-28 12:39:38 +01:00
|
|
|
* SECTION:nm-setting-wifi-p2p
|
2018-10-10 17:23:42 +02:00
|
|
|
* @short_description: Describes connection properties for 802.11 Wi-Fi P2P networks
|
|
|
|
|
*
|
2019-01-28 15:21:59 +01:00
|
|
|
* The #NMSettingWifiP2P object is a #NMSetting subclass that describes properties
|
2018-10-10 17:23:42 +02:00
|
|
|
* necessary for connection to 802.11 Wi-Fi P2P networks (aka Wi-Fi Direct).
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
|
|
/**
|
2019-01-28 15:21:59 +01:00
|
|
|
* NMSettingWifiP2P:
|
2018-10-10 17:23:42 +02:00
|
|
|
*
|
2019-01-28 15:21:59 +01:00
|
|
|
* Wi-Fi P2P Settings
|
2019-01-28 00:18:40 +01:00
|
|
|
*
|
|
|
|
|
* Since: 1.16
|
2018-10-10 17:23:42 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
NM_GOBJECT_PROPERTIES_DEFINE_BASE(PROP_PEER, PROP_WPS_METHOD, PROP_WFD_IES, );
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
char * peer_mac_address;
|
2019-02-18 10:25:34 +01:00
|
|
|
GBytes *wfd_ies;
|
2018-10-10 17:23:42 +02:00
|
|
|
|
|
|
|
|
NMSettingWirelessSecurityWpsMethod wps_method;
|
2019-01-28 15:21:59 +01:00
|
|
|
} NMSettingWifiP2PPrivate;
|
2018-10-10 17:23:42 +02:00
|
|
|
|
2019-01-28 15:21:59 +01:00
|
|
|
struct _NMSettingWifiP2P {
|
2018-10-10 17:23:42 +02:00
|
|
|
NMSetting parent;
|
2019-01-28 15:21:59 +01:00
|
|
|
NMSettingWifiP2PPrivate _priv;
|
2018-10-10 17:23:42 +02:00
|
|
|
};
|
|
|
|
|
|
2019-01-28 15:21:59 +01:00
|
|
|
struct _NMSettingWifiP2PClass {
|
2018-10-10 17:23:42 +02:00
|
|
|
NMSettingClass parent;
|
|
|
|
|
};
|
|
|
|
|
|
2019-01-28 15:21:59 +01:00
|
|
|
G_DEFINE_TYPE(NMSettingWifiP2P, nm_setting_wifi_p2p, NM_TYPE_SETTING)
|
2018-10-10 17:23:42 +02:00
|
|
|
|
2019-01-28 15:21:59 +01:00
|
|
|
#define NM_SETTING_WIFI_P2P_GET_PRIVATE(self) \
|
|
|
|
|
_NM_GET_PRIVATE(self, NMSettingWifiP2P, NM_IS_SETTING_WIFI_P2P, NMSetting)
|
2018-10-10 17:23:42 +02:00
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
/**
|
2019-01-28 15:21:59 +01:00
|
|
|
* nm_setting_wifi_p2p_get_peer:
|
|
|
|
|
* @setting: the #NMSettingWifiP2P
|
2018-10-10 17:23:42 +02:00
|
|
|
*
|
2019-01-28 15:21:59 +01:00
|
|
|
* Returns: the #NMSettingWifiP2P:peer property of the setting
|
2018-10-10 17:23:42 +02:00
|
|
|
*
|
|
|
|
|
* Since: 1.16
|
|
|
|
|
**/
|
|
|
|
|
const char *
|
2019-01-28 15:21:59 +01:00
|
|
|
nm_setting_wifi_p2p_get_peer(NMSettingWifiP2P *setting)
|
2018-10-10 17:23:42 +02:00
|
|
|
{
|
2019-01-28 15:21:59 +01:00
|
|
|
g_return_val_if_fail(NM_IS_SETTING_WIFI_P2P(setting), NULL);
|
2018-10-10 17:23:42 +02:00
|
|
|
|
2019-01-28 15:21:59 +01:00
|
|
|
return NM_SETTING_WIFI_P2P_GET_PRIVATE(setting)->peer_mac_address;
|
2018-10-10 17:23:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2019-01-28 15:21:59 +01:00
|
|
|
* nm_setting_wifi_p2p_get_wps_method:
|
|
|
|
|
* @setting: the #NMSettingWifiP2P
|
2018-10-10 17:23:42 +02:00
|
|
|
*
|
2019-01-28 15:21:59 +01:00
|
|
|
* Returns: the #NMSettingWifiP2P:wps-method property of the setting
|
2018-10-10 17:23:42 +02:00
|
|
|
*
|
|
|
|
|
* Since: 1.16
|
|
|
|
|
**/
|
|
|
|
|
NMSettingWirelessSecurityWpsMethod
|
2019-01-28 15:21:59 +01:00
|
|
|
nm_setting_wifi_p2p_get_wps_method(NMSettingWifiP2P *setting)
|
2018-10-10 17:23:42 +02:00
|
|
|
{
|
2019-01-28 15:21:59 +01:00
|
|
|
g_return_val_if_fail(NM_IS_SETTING_WIFI_P2P(setting),
|
|
|
|
|
NM_SETTING_WIRELESS_SECURITY_WPS_METHOD_DEFAULT);
|
2018-10-10 17:23:42 +02:00
|
|
|
|
2019-01-28 15:21:59 +01:00
|
|
|
return NM_SETTING_WIFI_P2P_GET_PRIVATE(setting)->wps_method;
|
2018-10-10 17:23:42 +02:00
|
|
|
}
|
|
|
|
|
|
2019-02-18 10:25:34 +01:00
|
|
|
/**
|
|
|
|
|
* nm_setting_wifi_p2p_get_wfd_ies:
|
|
|
|
|
* @setting: the #NMSettingWiFiP2P
|
|
|
|
|
*
|
|
|
|
|
* Returns: (transfer none): the #NMSettingWiFiP2P:wfd-ies property of the setting
|
|
|
|
|
*
|
|
|
|
|
* Since: 1.16
|
|
|
|
|
**/
|
|
|
|
|
GBytes *
|
|
|
|
|
nm_setting_wifi_p2p_get_wfd_ies(NMSettingWifiP2P *setting)
|
|
|
|
|
{
|
|
|
|
|
g_return_val_if_fail(NM_IS_SETTING_WIFI_P2P(setting), NULL);
|
|
|
|
|
|
|
|
|
|
return NM_SETTING_WIFI_P2P_GET_PRIVATE(setting)->wfd_ies;
|
|
|
|
|
}
|
|
|
|
|
|
2019-01-28 00:18:40 +01:00
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
2018-10-10 17:23:42 +02:00
|
|
|
static gboolean
|
|
|
|
|
verify(NMSetting *setting, NMConnection *connection, GError **error)
|
|
|
|
|
{
|
2019-01-28 15:21:59 +01:00
|
|
|
NMSettingWifiP2PPrivate *priv = NM_SETTING_WIFI_P2P_GET_PRIVATE(setting);
|
2020-09-28 16:03:33 +02:00
|
|
|
|
2019-01-28 00:18:40 +01:00
|
|
|
if (!priv->peer_mac_address) {
|
|
|
|
|
g_set_error_literal(error,
|
|
|
|
|
NM_CONNECTION_ERROR,
|
|
|
|
|
NM_CONNECTION_ERROR_MISSING_PROPERTY,
|
|
|
|
|
_("property is missing"));
|
2019-01-28 15:21:59 +01:00
|
|
|
g_prefix_error(error,
|
|
|
|
|
"%s.%s: ",
|
|
|
|
|
NM_SETTING_WIFI_P2P_SETTING_NAME,
|
|
|
|
|
NM_SETTING_WIFI_P2P_PEER);
|
2019-01-28 00:18:40 +01:00
|
|
|
return FALSE;
|
|
|
|
|
}
|
2020-09-28 16:03:33 +02:00
|
|
|
|
2019-01-28 00:18:40 +01:00
|
|
|
if (!nm_utils_hwaddr_valid(priv->peer_mac_address, ETH_ALEN)) {
|
2018-10-10 17:23:42 +02:00
|
|
|
g_set_error_literal(error,
|
|
|
|
|
NM_CONNECTION_ERROR,
|
|
|
|
|
NM_CONNECTION_ERROR_INVALID_PROPERTY,
|
|
|
|
|
_("property is invalid"));
|
2019-01-28 15:21:59 +01:00
|
|
|
g_prefix_error(error,
|
|
|
|
|
"%s.%s: ",
|
|
|
|
|
NM_SETTING_WIFI_P2P_SETTING_NAME,
|
|
|
|
|
NM_SETTING_WIFI_P2P_PEER);
|
2018-10-10 17:23:42 +02:00
|
|
|
return FALSE;
|
|
|
|
|
}
|
2020-09-28 16:03:33 +02:00
|
|
|
|
2019-01-28 00:36:08 +01:00
|
|
|
if (!_nm_utils_wps_method_validate(priv->wps_method,
|
2019-01-28 15:21:59 +01:00
|
|
|
NM_SETTING_WIFI_P2P_SETTING_NAME,
|
|
|
|
|
NM_SETTING_WIFI_P2P_WPS_METHOD,
|
2019-01-28 00:36:08 +01:00
|
|
|
TRUE,
|
|
|
|
|
error))
|
2018-10-10 17:23:42 +02:00
|
|
|
return FALSE;
|
2020-09-28 16:03:33 +02:00
|
|
|
|
2018-10-10 17:23:42 +02:00
|
|
|
return TRUE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
static void
|
|
|
|
|
get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
|
|
|
|
|
{
|
2019-01-28 15:21:59 +01:00
|
|
|
NMSettingWifiP2P *setting = NM_SETTING_WIFI_P2P(object);
|
2020-09-28 16:03:33 +02:00
|
|
|
|
2018-10-10 17:23:42 +02:00
|
|
|
switch (prop_id) {
|
|
|
|
|
case PROP_PEER:
|
2019-01-28 15:21:59 +01:00
|
|
|
g_value_set_string(value, nm_setting_wifi_p2p_get_peer(setting));
|
2018-10-10 17:23:42 +02:00
|
|
|
break;
|
|
|
|
|
case PROP_WPS_METHOD:
|
2019-01-28 15:21:59 +01:00
|
|
|
g_value_set_uint(value, nm_setting_wifi_p2p_get_wps_method(setting));
|
2018-10-10 17:23:42 +02:00
|
|
|
break;
|
2019-02-18 10:25:34 +01:00
|
|
|
case PROP_WFD_IES:
|
|
|
|
|
g_value_set_boxed(value, nm_setting_wifi_p2p_get_wfd_ies(setting));
|
|
|
|
|
break;
|
2018-10-10 17:23:42 +02:00
|
|
|
default:
|
|
|
|
|
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void
|
|
|
|
|
set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
|
|
|
|
|
{
|
2019-01-28 15:21:59 +01:00
|
|
|
NMSettingWifiP2PPrivate *priv = NM_SETTING_WIFI_P2P_GET_PRIVATE(object);
|
2020-09-28 16:03:33 +02:00
|
|
|
|
2018-10-10 17:23:42 +02:00
|
|
|
switch (prop_id) {
|
|
|
|
|
case PROP_PEER:
|
|
|
|
|
g_free(priv->peer_mac_address);
|
|
|
|
|
priv->peer_mac_address =
|
|
|
|
|
_nm_utils_hwaddr_canonical_or_invalid(g_value_get_string(value), ETH_ALEN);
|
|
|
|
|
break;
|
|
|
|
|
case PROP_WPS_METHOD:
|
|
|
|
|
priv->wps_method = g_value_get_uint(value);
|
|
|
|
|
break;
|
2019-02-18 10:25:34 +01:00
|
|
|
case PROP_WFD_IES:
|
all: use nm_clear_pointer() instead of g_clear_pointer()
g_clear_pointer() would always cast the destroy notify function
pointer to GDestroyNotify. That means, it lost some type safety, like
GPtrArray *ptr_arr = ...
g_clear_pointer (&ptr_arr, g_array_unref);
Since glib 2.58 ([1]), g_clear_pointer() is also more type safe. But
this is not used by NetworkManager, because we don't set
GLIB_VERSION_MIN_REQUIRED to 2.58.
[1] https://gitlab.gnome.org/GNOME/glib/-/commit/f9a9902aac826ab4aecc25f6eb533a418a4fa559
We have nm_clear_pointer() to avoid this issue for a long time (pre
1.12.0). Possibly we should redefine in our source tree g_clear_pointer()
as nm_clear_pointer(). However, I don't like to patch glib functions
with our own variant. Arguably, we do patch g_clear_error() in
such a manner. But there the point is to make the function inlinable.
Also, nm_clear_pointer() returns a boolean that indicates whether
anything was cleared. That is sometimes useful. I think we should
just consistently use nm_clear_pointer() instead, which does always
the preferable thing.
Replace:
sed 's/\<g_clear_pointer *(\([^;]*\), *\([a-z_A-Z0-9]\+\) *)/nm_clear_pointer (\1, \2)/g' $(git grep -l g_clear_pointer) -i
2020-03-23 11:09:24 +01:00
|
|
|
nm_clear_pointer(&priv->wfd_ies, g_bytes_unref);
|
2019-02-18 10:25:34 +01:00
|
|
|
priv->wfd_ies = g_value_dup_boxed(value);
|
|
|
|
|
break;
|
2018-10-10 17:23:42 +02:00
|
|
|
default:
|
|
|
|
|
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
static void
|
2019-01-28 15:21:59 +01:00
|
|
|
nm_setting_wifi_p2p_init(NMSettingWifiP2P *setting)
|
2018-10-10 17:23:42 +02:00
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
/**
|
2019-01-28 15:21:59 +01:00
|
|
|
* nm_setting_wifi_p2p_new:
|
2018-10-10 17:23:42 +02:00
|
|
|
*
|
2019-01-28 15:21:59 +01:00
|
|
|
* Creates a new #NMSettingWifiP2P object with default values.
|
2018-10-10 17:23:42 +02:00
|
|
|
*
|
2019-01-28 15:21:59 +01:00
|
|
|
* Returns: (transfer full): the new empty #NMSettingWifiP2P object
|
2018-10-10 17:23:42 +02:00
|
|
|
*
|
|
|
|
|
* Since: 1.16
|
|
|
|
|
**/
|
|
|
|
|
NMSetting *
|
2019-01-28 15:21:59 +01:00
|
|
|
nm_setting_wifi_p2p_new(void)
|
2018-10-10 17:23:42 +02:00
|
|
|
{
|
2019-01-28 15:21:59 +01:00
|
|
|
return g_object_new(NM_TYPE_SETTING_WIFI_P2P, NULL);
|
2018-10-10 17:23:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void
|
|
|
|
|
finalize(GObject *object)
|
|
|
|
|
{
|
2019-01-28 15:21:59 +01:00
|
|
|
NMSettingWifiP2PPrivate *priv = NM_SETTING_WIFI_P2P_GET_PRIVATE(object);
|
2018-10-10 17:23:42 +02:00
|
|
|
|
|
|
|
|
g_free(priv->peer_mac_address);
|
2019-02-18 10:25:34 +01:00
|
|
|
g_bytes_unref(priv->wfd_ies);
|
2018-10-10 17:23:42 +02:00
|
|
|
|
2019-01-28 15:21:59 +01:00
|
|
|
G_OBJECT_CLASS(nm_setting_wifi_p2p_parent_class)->finalize(object);
|
2018-10-10 17:23:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void
|
2019-01-28 15:21:59 +01:00
|
|
|
nm_setting_wifi_p2p_class_init(NMSettingWifiP2PClass *setting_wifi_p2p_class)
|
2018-10-10 17:23:42 +02:00
|
|
|
{
|
2019-01-28 15:21:59 +01:00
|
|
|
GObjectClass * object_class = G_OBJECT_CLASS(setting_wifi_p2p_class);
|
|
|
|
|
NMSettingClass *setting_class = NM_SETTING_CLASS(setting_wifi_p2p_class);
|
2018-10-10 17:23:42 +02:00
|
|
|
|
|
|
|
|
object_class->get_property = get_property;
|
2019-01-28 00:18:40 +01:00
|
|
|
object_class->set_property = set_property;
|
2018-10-10 17:23:42 +02:00
|
|
|
object_class->finalize = finalize;
|
|
|
|
|
|
|
|
|
|
setting_class->verify = verify;
|
|
|
|
|
|
|
|
|
|
/**
|
2019-01-28 15:21:59 +01:00
|
|
|
* NMSettingWifiP2P:peer:
|
2018-10-10 17:23:42 +02:00
|
|
|
*
|
2020-07-01 17:20:40 -04:00
|
|
|
* The P2P device that should be connected to. Currently, this is the only
|
2018-10-10 17:23:42 +02:00
|
|
|
* way to create or join a group.
|
|
|
|
|
*
|
|
|
|
|
* Since: 1.16
|
|
|
|
|
*/
|
|
|
|
|
/* ---keyfile---
|
|
|
|
|
* property: peer
|
|
|
|
|
* format: usual hex-digits-and-colons notation
|
|
|
|
|
* description: MAC address in traditional hex-digits-and-colons notation
|
|
|
|
|
* (e.g. 00:22:68:12:79:A2), or semicolon separated list of 6 bytes (obsolete)
|
|
|
|
|
* (e.g. 0;34;104;18;121;162).
|
|
|
|
|
* ---end---
|
|
|
|
|
*/
|
2019-01-28 15:21:59 +01:00
|
|
|
obj_properties[PROP_PEER] = g_param_spec_string(NM_SETTING_WIFI_P2P_PEER,
|
|
|
|
|
"",
|
|
|
|
|
"",
|
2018-10-10 17:23:42 +02:00
|
|
|
NULL,
|
|
|
|
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
|
|
|
|
|
|
|
|
|
/**
|
2019-01-28 15:21:59 +01:00
|
|
|
* NMSettingWifiP2P:wps-method:
|
2018-10-10 17:23:42 +02:00
|
|
|
*
|
|
|
|
|
* Flags indicating which mode of WPS is to be used.
|
|
|
|
|
*
|
|
|
|
|
* There's little point in changing the default setting as NetworkManager will
|
|
|
|
|
* automatically determine the best method to use.
|
|
|
|
|
*
|
|
|
|
|
* Since: 1.16
|
|
|
|
|
*/
|
|
|
|
|
obj_properties[PROP_WPS_METHOD] = g_param_spec_uint(
|
2019-02-18 10:23:30 +01:00
|
|
|
NM_SETTING_WIFI_P2P_WPS_METHOD,
|
|
|
|
|
"",
|
|
|
|
|
"",
|
2018-10-10 17:23:42 +02:00
|
|
|
0,
|
|
|
|
|
G_MAXUINT32,
|
|
|
|
|
NM_SETTING_WIRELESS_SECURITY_WPS_METHOD_DEFAULT,
|
|
|
|
|
G_PARAM_READWRITE | NM_SETTING_PARAM_FUZZY_IGNORE | G_PARAM_STATIC_STRINGS);
|
2020-09-28 16:03:33 +02:00
|
|
|
|
2019-02-18 10:25:34 +01:00
|
|
|
/**
|
|
|
|
|
* NMSettingWifiP2P:wfd-ies:
|
|
|
|
|
*
|
|
|
|
|
* The Wi-Fi Display (WFD) Information Elements (IEs) to set.
|
|
|
|
|
*
|
|
|
|
|
* Wi-Fi Display requires a protocol specific information element to be
|
|
|
|
|
* set in certain Wi-Fi frames. These can be specified here for the
|
|
|
|
|
* purpose of establishing a connection.
|
|
|
|
|
* This setting is only useful when implementing a Wi-Fi Display client.
|
|
|
|
|
*
|
|
|
|
|
* Since: 1.16
|
|
|
|
|
*/
|
|
|
|
|
obj_properties[PROP_WFD_IES] = g_param_spec_boxed(
|
|
|
|
|
NM_SETTING_WIFI_P2P_WFD_IES,
|
|
|
|
|
"",
|
|
|
|
|
"",
|
|
|
|
|
G_TYPE_BYTES,
|
|
|
|
|
G_PARAM_READWRITE | NM_SETTING_PARAM_FUZZY_IGNORE | G_PARAM_STATIC_STRINGS);
|
|
|
|
|
|
2018-10-10 17:23:42 +02:00
|
|
|
g_object_class_install_properties(object_class, _PROPERTY_ENUMS_LAST, obj_properties);
|
|
|
|
|
|
2019-01-28 15:21:59 +01:00
|
|
|
_nm_setting_class_commit(setting_class, NM_META_SETTING_TYPE_WIFI_P2P);
|
2018-10-10 17:23:42 +02:00
|
|
|
}
|