aboutsummaryrefslogtreecommitdiff
path: root/net/iwconfig.sh.Linux.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-09 18:28:45 +0000
committerRoy Marples <roy@marples.name>2008-07-09 18:28:45 +0000
commitc67233f15cfc0cc246111775d48c99eaa78e6c0f (patch)
tree55a7cd21136f95a08eefbb33dd93f0121f9b6145 /net/iwconfig.sh.Linux.in
parentb15c4758f8cebb444df3ef05a9d1b5c4c8e81cd1 (diff)
Don't set silly defaults that may brake users.
Diffstat (limited to 'net/iwconfig.sh.Linux.in')
-rw-r--r--net/iwconfig.sh.Linux.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/iwconfig.sh.Linux.in b/net/iwconfig.sh.Linux.in
index 31930205..ea7cfd6e 100644
--- a/net/iwconfig.sh.Linux.in
+++ b/net/iwconfig.sh.Linux.in
@@ -601,10 +601,8 @@ iwconfig_connect_not_preferred()
iwconfig_defaults()
{
- local x=
- for x in txpower rate rts frag; do
- iwconfig "${IFACE}" "${x}" auto 2>/dev/null
- done
+ # Turn on the radio
+ iwconfig "${IFACE}" txpower on 2>/dev/null
# Release the AP forced
# Must do ap and then ssid otherwise scanning borks