Searched refs:role2 (Results 1 – 2 of 2) sorted by relevance
21 const char *role2; in get_default_context_with_role() local32 role2 = context_role_get(con); in get_default_context_with_role()33 if (role2 && !strcmp(role, role2)) { in get_default_context_with_role()
3548 static int dpp_compatible_netrole(const char *role1, const char *role2) in dpp_compatible_netrole() argument3550 return (os_strcmp(role1, "sta") == 0 && os_strcmp(role2, "ap") == 0) || in dpp_compatible_netrole()3551 (os_strcmp(role1, "ap") == 0 && os_strcmp(role2, "sta") == 0); in dpp_compatible_netrole()