Removed registrar pointer from wps_config and wps_data
[wpasupplicant] / src / wps / wps_i.h
index b67a42a..da7f769 100644 (file)
@@ -30,10 +30,9 @@ struct wps_data {
        struct wps_context *wps;
 
        /**
-        * registrar - Pointer to WPS registrar data from wps_registrar_init()
-        * This is only used if the local end is Registrar.
+        * registrar - Whether this end is a Registrar
         */
-       struct wps_registrar *registrar;
+       int registrar;
 
        enum {
                /* Enrollee states */