Lines Matching refs:pos2
89 char buf[2000], *pos, *pos2; in wpa_config_read_network() local
107 pos2 = os_strchr(pos, '='); in wpa_config_read_network()
108 if (pos2 == NULL) { in wpa_config_read_network()
115 *pos2++ = '\0'; in wpa_config_read_network()
116 if (*pos2 == '"') { in wpa_config_read_network()
117 if (os_strchr(pos2 + 1, '"') == NULL) { in wpa_config_read_network()
119 "quotation '%s'.", *line, pos2); in wpa_config_read_network()
125 if (wpa_config_set(ssid, pos, pos2, *line) < 0) { in wpa_config_read_network()
164 char buf[256], *pos, *pos2; in wpa_config_read_cred() local
179 pos2 = os_strchr(pos, '='); in wpa_config_read_cred()
180 if (pos2 == NULL) { in wpa_config_read_cred()
187 *pos2++ = '\0'; in wpa_config_read_cred()
188 if (*pos2 == '"') { in wpa_config_read_cred()
189 if (os_strchr(pos2 + 1, '"') == NULL) { in wpa_config_read_cred()
191 "quotation '%s'.", *line, pos2); in wpa_config_read_cred()
197 if (wpa_config_set_cred(cred, pos, pos2, *line) < 0) in wpa_config_read_cred()