mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 21:30:16 +01:00
libnm: change default value for NMAccessPoint:mode property
NMAccessPoint is an NMObject, and exclusively created and initialized by NMClient. In practice, the D-Bus property is always present on D-Bus, so the default value is not used. However, a better default is anyway "unknown", also because that has zero numeric value.
This commit is contained in:
parent
1c4acc89f1
commit
3f476b7a50
1 changed files with 1 additions and 1 deletions
|
|
@ -579,7 +579,7 @@ nm_access_point_class_init (NMAccessPointClass *ap_class)
|
|||
obj_properties[PROP_MODE] =
|
||||
g_param_spec_enum (NM_ACCESS_POINT_MODE, "", "",
|
||||
NM_TYPE_802_11_MODE,
|
||||
NM_802_11_MODE_INFRA,
|
||||
NM_802_11_MODE_UNKNOWN,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue