contrib/meshwizard: Up the wlan interface before checking for VAP capabilities
This commit is contained in:
parent
73b0c8a5f2
commit
090c8ffcfd
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,10 @@ uci_commitverbose "Setup wifi interface for $netrenamed" wireless
|
||||||
ip4addr="$(uci get meshwizard.netconfig.$net\_ip4addr)"
|
ip4addr="$(uci get meshwizard.netconfig.$net\_ip4addr)"
|
||||||
|
|
||||||
# check if this hardware supports VAPs
|
# check if this hardware supports VAPs
|
||||||
|
# the interface needs to be up before the check can happen
|
||||||
|
|
||||||
|
/sbin/wifi
|
||||||
|
|
||||||
supports_vap="0"
|
supports_vap="0"
|
||||||
$dir/helpers/supports_vap.sh $net $type && supports_vap=1
|
$dir/helpers/supports_vap.sh $net $type && supports_vap=1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue