summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-wireless.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-06-01 13:43:52 +0200
committerThomas Haller <thaller@redhat.com>2017-06-07 09:07:17 +0200
commit488029d74b6d25abc857e46067cf63588a5dbbe5 (patch)
treeffe5ebfad867418661fcfbb1e90413e009befbfa /libnm-core/nm-setting-wireless.c
parenta973eacb3b2811ba977f1d2b36633a5c814b74e8 (diff)
downloadNetworkManager-488029d74b6d25abc857e46067cf63588a5dbbe5.tar.gz
libnm: use enum for setting priorities
Diffstat (limited to 'libnm-core/nm-setting-wireless.c')
-rw-r--r--libnm-core/nm-setting-wireless.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-setting-wireless.c b/libnm-core/nm-setting-wireless.c
index 4c0bc5d6f7..e26bbfd62e 100644
--- a/libnm-core/nm-setting-wireless.c
+++ b/libnm-core/nm-setting-wireless.c
@@ -41,7 +41,7 @@
**/
G_DEFINE_TYPE_WITH_CODE (NMSettingWireless, nm_setting_wireless, NM_TYPE_SETTING,
- _nm_register_setting (WIRELESS, 1))
+ _nm_register_setting (WIRELESS, NM_SETTING_PRIORITY_HW_BASE))
NM_SETTING_REGISTER_TYPE (NM_TYPE_SETTING_WIRELESS)
#define NM_SETTING_WIRELESS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NM_TYPE_SETTING_WIRELESS, NMSettingWirelessPrivate))