mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-20 19:12:33 +01:00
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
Block a user