Remove hardcoded reference to iwi0

This commit is contained in:
Roy Marples 2007-07-15 23:39:07 +00:00
parent 7545a44dde
commit 56e51080ce

View File

@ -679,7 +679,7 @@ iwconfig_pre_start() {
# Store the fact that tx-power was off so we default to a longer
# 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=$?
iwconfig_defaults