From d4d00ee09c218afa2802be8ca21e6b67da908b13 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sat, 3 Jun 2017 14:41:29 +0200 Subject: [PATCH] supplicant/trivial: move code around --- src/supplicant/nm-supplicant-interface.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/supplicant/nm-supplicant-interface.c b/src/supplicant/nm-supplicant-interface.c index ddbc86863..c89429791 100644 --- a/src/supplicant/nm-supplicant-interface.c +++ b/src/supplicant/nm-supplicant-interface.c @@ -47,6 +47,13 @@ typedef struct { struct _AddNetworkData; +typedef struct { + NMSupplicantInterface *self; + const char *type; + char *bssid; + char *pin; +} WpsEnrollStartData; + typedef struct { NMSupplicantInterface *self; NMSupplicantConfig *cfg; @@ -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)