Lines Matching refs:ctrl_interface
1022 if (hapd->conf->ctrl_interface == NULL)
1025 len = os_strlen(hapd->conf->ctrl_interface) +
1032 hapd->conf->ctrl_interface, hapd->conf->iface);
1059 if (hapd->conf->ctrl_interface == NULL)
1062 if (mkdir(hapd->conf->ctrl_interface, S_IRWXU | S_IRWXG) < 0) {
1067 perror("mkdir[ctrl_interface]");
1073 chown(hapd->conf->ctrl_interface, -1,
1075 perror("chown[ctrl_interface]");
1081 chown(hapd->conf->ctrl_interface, -1,
1083 perror("chown[ctrl_interface]");
1095 if (chmod(hapd->conf->ctrl_interface, S_IRWXU | S_IRWXG) < 0) {
1102 if (os_strlen(hapd->conf->ctrl_interface) + 1 +
1155 perror("chown[ctrl_interface/ifname]");
1162 perror("chown[ctrl_interface/ifname]");
1167 perror("chmod[ctrl_interface/ifname]");
1205 if (hapd->conf->ctrl_interface &&
1206 rmdir(hapd->conf->ctrl_interface) < 0) {
1212 perror("rmdir[ctrl_interface]");
1331 perror("mkdir[ctrl_interface]");
1337 perror("chown[ctrl_interface]");
1394 perror("chown[ctrl_interface]");
1399 perror("chmod[ctrl_interface/ifname]");
1442 perror("rmdir[ctrl_interface]");