wiphy: Use real adapter name in path str
This commit is contained in:
parent
dae0bbe17c
commit
d3030acbec
|
@ -108,7 +108,7 @@ const char *wiphy_get_path(struct wiphy *wiphy)
|
|||
{
|
||||
static char path[15];
|
||||
|
||||
snprintf(path, sizeof(path), "/phy%u", wiphy->id);
|
||||
snprintf(path, sizeof(path), "/%s", wiphy->name);
|
||||
return path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue