Lines Matching defs:fbuf
122 char *fbuf = NULL;
147 asprintf(&fbuf, "%swpa=1\nwpa_pairwise=TKIP CCMP\nwpa_psk=%s\n", wbuf, psk_str);
150 asprintf(&fbuf, "%swpa=2\nrsn_pairwise=CCMP\nwpa_psk=%s\n", wbuf, psk_str);
152 asprintf(&fbuf, "%s", wbuf);
156 asprintf(&fbuf, "%s", wbuf);
159 asprintf(&fbuf, "%s", wbuf);
166 free(fbuf);
169 if (write(fd, fbuf, strlen(fbuf)) < 0) {
174 free(fbuf);