iwinfo: nl80211: fix typo
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
268bb26d2e
commit
c0414642fe
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue