163
ret = wpa_ctrl_request(ctrl, "INTERFACES", 10, buf, &len, NULL);
155
180
flen = strlen(ctrl_iface_dir) + strlen(ctrl_iface) + 2;
156
181
cfile = (char *) malloc(flen);
159
184
snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, ctrl_iface);
190
snprintf(cfile, flen, "%s", ctrl_iface);
162
194
wpa_ctrl_close(ctrl_conn);