summaryrefslogtreecommitdiffstats
path: root/rc.wireless
diff options
context:
space:
mode:
Diffstat (limited to 'rc.wireless')
-rw-r--r--rc.wireless11
1 files changed, 6 insertions, 5 deletions
diff --git a/rc.wireless b/rc.wireless
index 52559ff..00df8c3 100644
--- a/rc.wireless
+++ b/rc.wireless
@@ -326,11 +326,10 @@ if [ "$WPA" = "wpa_supplicant" ] || [ "$WPA" = "wpaxsupplicant" ] && [ -x ${SUPP
echo "$0: WPA authentication did not complete, try running '/etc/rc.d/rc.inet1 ${INTERFACE}_start' in a few seconds." | $LOGGER
fi
# Bring interface up to avoid 'not ready' errors when calling iwconfig
- $IFCOMMAND up
- sleep 3
-
+ # Tadgy: don't bring interface up as it interferes with SLAAC in rc.inet1
+ # $IFCOMMAND up
+ # sleep 3
else
-
# ESSID need to be last: most devices re-perform the scanning/discovery
# when this is set, and things like encryption keys had better be
# defined if we want to discover the right set of APs/nodes.
@@ -344,5 +343,7 @@ else
echo "$0: $IWCOMMAND essid \"$ESSID\"" | $LOGGER
$IWCOMMAND essid "$ESSID"
fi
-
+ # Tadgy: don't leave interface up as this causes problems for SLAAC in rc.inet1
+ $IFCOMMAND down
+ sleep 3
fi