Searched refs:nconf (Results 1 – 1 of 1) sorted by relevance
/hostap-3.6.0/src/ap/ |
D | wps_hostapd.c | 458 FILE *oconf, *nconf; in hapd_wps_cred_cb() local 547 nconf = fopen(tmp_fname, "w"); in hapd_wps_cred_cb() 548 if (nconf == NULL) { in hapd_wps_cred_cb() 556 fprintf(nconf, "# WPS configuration - START\n"); in hapd_wps_cred_cb() 558 fprintf(nconf, "wps_state=2\n"); in hapd_wps_cred_cb() 561 fprintf(nconf, "ssid2="); in hapd_wps_cred_cb() 563 fprintf(nconf, "%02x", cred->ssid[i]); in hapd_wps_cred_cb() 564 fprintf(nconf, "\n"); in hapd_wps_cred_cb() 566 fprintf(nconf, "ssid="); in hapd_wps_cred_cb() 568 fputc(cred->ssid[i], nconf); in hapd_wps_cred_cb() [all …]
|