mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 23:30:28 +01:00
cli: add support for the WPS property
This commit is contained in:
parent
99c112a493
commit
2899bb3429
1 changed files with 8 additions and 1 deletions
|
|
@ -1035,7 +1035,6 @@ fail:
|
|||
max = property_info->property_typ_data->subtype.gobject_enum.max;
|
||||
}
|
||||
}
|
||||
|
||||
valid_all = nm_utils_enum_get_values (gtype, min, max);
|
||||
valid_str = g_strjoinv (",", (char **) valid_all);
|
||||
g_set_error (error, NM_UTILS_ERROR, NM_UTILS_ERROR_INVALID_ARGUMENT,
|
||||
|
|
@ -6995,6 +6994,14 @@ static const NMMetaPropertyInfo *const property_infos_WIRELESS_SECURITY[] = {
|
|||
PROPERTY_INFO_WITH_DESC (NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS,
|
||||
.property_type = &_pt_gobject_secret_flags,
|
||||
),
|
||||
PROPERTY_INFO_WITH_DESC (NM_SETTING_WIRELESS_SECURITY_WPS_METHOD,
|
||||
.property_type = &_pt_gobject_enum,
|
||||
.property_typ_data = DEFINE_PROPERTY_TYP_DATA (
|
||||
PROPERTY_TYP_DATA_SUBTYPE (gobject_enum,
|
||||
.get_gtype = nm_setting_wireless_security_wps_method_get_type,
|
||||
),
|
||||
),
|
||||
),
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue