summaryrefslogtreecommitdiff
path: root/net
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
parentb15c4758f8cebb444df3ef05a9d1b5c4c8e81cd1 (diff)
downloadopenrc-c67233f15cfc0cc246111775d48c99eaa78e6c0f.tar.gz
openrc-c67233f15cfc0cc246111775d48c99eaa78e6c0f.tar.bz2
openrc-c67233f15cfc0cc246111775d48c99eaa78e6c0f.tar.xz
Don't set silly defaults that may brake users.
Diffstat (limited to 'net')
-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 3193020..ea7cfd6 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