Lines Matching refs:cfile
151 char *cfile;
223 cfile = (char *) malloc(flen);
224 if (cfile == NULL)
226 snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, ctrl_iface);
229 cfile = (char *) malloc(flen);
230 if (cfile == NULL)
232 snprintf(cfile, flen, "%s", ctrl_iface);
248 printf("Trying to connect to '%s'\n", cfile);
249 ctrl_conn = wpa_ctrl_open(cfile);
251 free(cfile);
254 monitor_conn = wpa_ctrl_open(cfile);
255 free(cfile);