Searched refs:pathstr (Results 1 – 1 of 1) sorted by relevance
516 char *pathstr; in get_mac80211_phydev() local522 if (asprintf(&pathstr, "/sys/class/net/%s/phy80211", device) == -1) { in get_mac80211_phydev()528 bytes_read = readlink(pathstr, phydev_path, phydev_max_pathlen); in get_mac80211_phydev()535 free(pathstr); in get_mac80211_phydev()539 "%s: Can't readlink %s: %s", device, pathstr, in get_mac80211_phydev()541 free(pathstr); in get_mac80211_phydev()544 free(pathstr); in get_mac80211_phydev()