Lines Matching refs:own_socket_path
36 char *own_socket_path;
504 if (drv->own_socket_path) {
505 unlink(drv->own_socket_path);
506 os_free(drv->own_socket_path);
507 drv->own_socket_path = NULL;
529 os_free(drv->own_socket_path);
532 drv->own_socket_path = os_malloc(len);
533 if (drv->own_socket_path == NULL)
535 os_snprintf(drv->own_socket_path, len, "%s/STA-" MACSTR,
538 drv->own_socket_path = os_malloc(100);
539 if (drv->own_socket_path == NULL)
541 os_snprintf(drv->own_socket_path, 100,
549 os_free(drv->own_socket_path);
550 drv->own_socket_path = NULL;
556 os_strncpy(addr.sun_path, drv->own_socket_path, sizeof(addr.sun_path));
561 unlink(drv->own_socket_path);
562 os_free(drv->own_socket_path);
563 drv->own_socket_path = NULL;