Lines Matching refs:str_match
928 static int str_match(const char *a, const char *b) in str_match() function
961 pos2 = strchr(pos, str_match(pos, WPA_CTRL_REQ) ? ':' : ' '); in processMsg()
975 if (str_match(pos, WPA_CTRL_REQ)) in processMsg()
977 else if (str_match(pos, WPA_EVENT_SCAN_RESULTS) && scanres) in processMsg()
979 else if (str_match(pos, WPA_EVENT_DISCONNECTED)) in processMsg()
982 else if (str_match(pos, WPA_EVENT_CONNECTED)) { in processMsg()
987 } else if (str_match(pos, WPS_EVENT_AP_AVAILABLE_PBC)) { in processMsg()
994 } else if (str_match(pos, WPS_EVENT_AP_AVAILABLE_PIN)) { in processMsg()
1000 } else if (str_match(pos, WPS_EVENT_AP_AVAILABLE_AUTH)) { in processMsg()
1009 } else if (str_match(pos, WPS_EVENT_AP_AVAILABLE)) { in processMsg()
1011 } else if (str_match(pos, WPS_EVENT_OVERLAP)) { in processMsg()
1017 } else if (str_match(pos, WPS_EVENT_CRED_RECEIVED)) { in processMsg()
1020 } else if (str_match(pos, WPA_EVENT_EAP_METHOD)) { in processMsg()
1023 } else if (str_match(pos, WPS_EVENT_M2D)) { in processMsg()
1025 } else if (str_match(pos, WPS_EVENT_FAIL)) { in processMsg()
1027 } else if (str_match(pos, WPS_EVENT_SUCCESS)) { in processMsg()
1285 if (!str_match(reply, "FAIL")) in getNetworkDisabled()
1347 if (str_match(buf, "FAIL")) in saveConfig()