diff options
author | Thomas Haller <thaller@redhat.com> | 2017-06-03 14:41:29 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-06-03 14:43:55 +0200 |
commit | bf118358be2fddda1bab53da4a1edd37a349b9af (patch) | |
tree | bdfa7985a02832206a91fba5193b2d31d1e9721e | |
parent | de0da1df32fc29a3a89afb549c7d9e8ff016fc09 (diff) | |
download | NetworkManager-bf118358be2fddda1bab53da4a1edd37a349b9af.tar.gz |
supplicant/trivial: move code around
-rw-r--r-- | src/supplicant/nm-supplicant-interface.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/supplicant/nm-supplicant-interface.c b/src/supplicant/nm-supplicant-interface.c index ddbc868634..c89429791e 100644 --- a/src/supplicant/nm-supplicant-interface.c +++ b/src/supplicant/nm-supplicant-interface.c @@ -49,6 +49,13 @@ struct _AddNetworkData; typedef struct { NMSupplicantInterface *self; + const char *type; + char *bssid; + char *pin; +} WpsEnrollStartData; + +typedef struct { + NMSupplicantInterface *self; NMSupplicantConfig *cfg; GCancellable *cancellable; NMSupplicantInterfaceAssocCb callback; @@ -587,12 +594,7 @@ nm_supplicant_interface_set_pmf_support (NMSupplicantInterface *self, priv->pmf_support = pmf_support; } -typedef struct { - NMSupplicantInterface *self; - const char *type; - char *bssid; - char *pin; -} WpsEnrollStartData; +/*****************************************************************************/ static void wps_enroll_start_data_free (WpsEnrollStartData *data) |