diff options
author | Thomas Haller <thaller@redhat.com> | 2017-06-03 14:41:29 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-06-07 09:17:43 +0200 |
commit | 2485e66cb95bf2d3c6e2b8140f67f14dee6ccacc (patch) | |
tree | 737cdb20606dcf4193406877f8a2474cdf8ad195 | |
parent | 4649ac1a9c55c1cb89ccf714f8a1dceb77d93c66 (diff) | |
download | NetworkManager-2485e66cb95bf2d3c6e2b8140f67f14dee6ccacc.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) |