diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-10-15 14:21:38 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-10-15 14:50:56 +0200 |
commit | a29b7d4e26a8d97e48c2a899dda3665d385b95db (patch) | |
tree | e5d7203ccaf922ee59f53fc4e9dd0208f985f3ec /iwinfo_lua.c | |
parent | 2a95086db2b730346d87c320e2c753126c4ff795 (diff) | |
download | iwinfo-a29b7d4e26a8d97e48c2a899dda3665d385b95db.tar.gz |
nl80211: align path to phy mapping logic with mac80211.sh
The mac80211.sh implementation of the uci "path" option compares the
readlink() results of each /sys/class/ieee80211/*/device link to find
the proper phy directory while iwinfo so far tried to construct a full
path out of the uci value.
The iwinfo approach appears to fail under certain circumstances, e.g.
with Hyper-V systems utilizing PCI passthrough for the radio devices.
This commit mimicks the behaviour of mac80211.sh more closely to
achieve the same results.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'iwinfo_lua.c')
0 files changed, 0 insertions, 0 deletions