iwinfo: nl80211: use new path lookup function for nl80211_phy_idx_from_uci_path
authorFelix Fietkau <nbd@nbd.name>
Wed, 9 Jun 2021 12:03:29 +0000 (14:03 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 9 Jun 2021 12:05:05 +0000 (14:05 +0200)
commitdd6d6d2dec3515e26847e6ff8e8950d71745d560
treeeb0cb7921292e183389e2e22119a2ce7a89ea1cd
parentaa0e3c4bbe12f02ddb3a0a2e69b3b4f0b30b9b79
iwinfo: nl80211: use new path lookup function for nl80211_phy_idx_from_uci_path

Fixes issues with multiple phy instances of one device

Signed-off-by: Felix Fietkau <nbd@nbd.name>
iwinfo_nl80211.c