Remove hardcoded reference to iwi0
This commit is contained in:
parent
7545a44dde
commit
56e51080ce
@ -679,7 +679,7 @@ iwconfig_pre_start() {
|
|||||||
|
|
||||||
# Store the fact that tx-power was off so we default to a longer
|
# Store the fact that tx-power was off so we default to a longer
|
||||||
# wait if our scan returns nothing
|
# wait if our scan returns nothing
|
||||||
LC_ALL=C iwconfig iwi0 | sed -e '1d' | grep -q "Tx-Power=off"
|
LC_ALL=C iwconfig "${IFACE}" | sed -e '1d' | grep -q "Tx-Power=off"
|
||||||
local txpowerwasoff=$?
|
local txpowerwasoff=$?
|
||||||
|
|
||||||
iwconfig_defaults
|
iwconfig_defaults
|
||||||
|
Loading…
Reference in New Issue
Block a user