supplicant/trivial: move code around

This commit is contained in:
Thomas Haller
2017-06-03 14:41:29 +02:00
parent b6fa87a4c0
commit d4d00ee09c

View File

@@ -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)