Home | History | Annotate | Download | only in dbus

Lines Matching defs:role

29 	int role; /* 0 - not set, 1 - enrollee, 2 - registrar */
47 wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong Role type, "
50 "Role must be a string");
55 params->role = 1;
57 params->role = 2;
59 wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Uknown role %s", val);
156 if (os_strcmp(key, "Role") == 0)
182 * information about role (enrollee or registrar), authorization method
215 if (params.role == 0) {
216 wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Role not specified");
218 "Role not specified");
219 } else if (params.role == 1 && params.type == 0) {
223 } else if (params.role == 2 && params.pin == NULL) {
225 "registrar role");
227 message, "Pin required for registrar role.");
230 if (params.role == 2)
243 "role %s and key %s",
244 (params.role == 1 ? "enrollee" : "registrar"),