iwinfo: nl80211: fix typo

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2021-06-09 22:12:08 +02:00
parent 268bb26d2e
commit c0414642fe

View file

@ -392,7 +392,7 @@ static int nl80211_phy_idx_from_uci(const char *name)
goto out;
opt = uci_lookup_option_string(uci_ctx, s, "phy");
idx = nl80211_phy_idx_from_phy(s);
idx = nl80211_phy_idx_from_phy(opt);
out:
iwinfo_uci_free();