mac80211: fix detecting existing interface
authorDaniel Golle <daniel@makrotopia.org>
Fri, 17 Apr 2020 10:33:40 +0000 (11:33 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 17 Apr 2020 10:36:35 +0000 (11:36 +0100)
commit99d567a83de5e0531d94721c6831e32b2990bb1c
treeb35ac0607eda5e9e4ab6a2cd6298183050650930
parent75ef28be59c5b76d73313cfb9650f464ae943cc8
mac80211: fix detecting existing interface

Instead of using the actual interface name, a hard-coded 'wlan0' has
slipped into the script. Replace it.

Fixes: ccf2aa9d4b ("mac80211: detect existing interface before adding")
Reported-by: John Crispin <john@phrozen.org>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh