summaryrefslogtreecommitdiff
path: root/src/supplicant/nm-supplicant-interface.h
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2016-06-30 18:20:48 +0200
committerThomas Haller <thaller@redhat.com>2017-01-16 17:37:14 +0100
commit0150b644ed0bd2ef6db4175c5cffef2ee4d4d501 (patch)
tree0240608205c37550e2f71fa5f229c19fd4048082 /src/supplicant/nm-supplicant-interface.h
parent17da42704ab3510bd32bed1e6a4293c1e3424bad (diff)
supplicant: add an enum to specify the driver
With macsec we now have 3 drivers and a boolean is no longer enough.
Diffstat (limited to 'src/supplicant/nm-supplicant-interface.h')
-rw-r--r--src/supplicant/nm-supplicant-interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supplicant/nm-supplicant-interface.h b/src/supplicant/nm-supplicant-interface.h
index 852bf1040..5ab66d5de 100644
--- a/src/supplicant/nm-supplicant-interface.h
+++ b/src/supplicant/nm-supplicant-interface.h
@@ -57,7 +57,7 @@ enum {
#define NM_SUPPLICANT_INTERFACE_IFACE "iface"
#define NM_SUPPLICANT_INTERFACE_SCANNING "scanning"
#define NM_SUPPLICANT_INTERFACE_CURRENT_BSS "current-bss"
-#define NM_SUPPLICANT_INTERFACE_IS_WIRELESS "is-wireless"
+#define NM_SUPPLICANT_INTERFACE_DRIVER "driver"
#define NM_SUPPLICANT_INTERFACE_FAST_SUPPORTED "fast-supported"
#define NM_SUPPLICANT_INTERFACE_AP_SUPPORT "ap-support"
@@ -76,7 +76,7 @@ typedef struct _NMSupplicantInterfaceClass NMSupplicantInterfaceClass;
GType nm_supplicant_interface_get_type (void);
NMSupplicantInterface * nm_supplicant_interface_new (const char *ifname,
- gboolean is_wireless,
+ NMSupplicantDriver driver,
gboolean fast_supported,
NMSupplicantFeature ap_support);