aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-15 23:39:07 +0000
committerRoy Marples <roy@marples.name>2007-07-15 23:39:07 +0000
commit56e51080ce251af470513f12f818ddd839e107fa (patch)
treef984a68cfe4b49953f1c9a582d25696baafa0013
parent7545a44dded6b2618da1d29893c0bee431f91a11 (diff)
Remove hardcoded reference to iwi0
-rw-r--r--net.Linux/iwconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.Linux/iwconfig.sh b/net.Linux/iwconfig.sh
index 5a48c40d..c29046e5 100644
--- a/net.Linux/iwconfig.sh
+++ b/net.Linux/iwconfig.sh
@@ -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