summaryrefslogtreecommitdiff
path: root/packages/wireless-tools
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2007-11-21 00:38:08 +0000
committerMike Westerhof <mwester@dls.net>2007-11-21 00:38:08 +0000
commitbafff4278b1bb4ac21fa7e19eda4e6f92e2736ac (patch)
treed7070842ee2237de1c14f560c5dbc7df737f47c9 /packages/wireless-tools
parentde388a31807818eb436b8c93d2664545050a7d30 (diff)
wireless-tools.if-pre-up - move setting of the ESSID to the end of the script,
because certain chipsets (ZD1211) use that as the "commit" operation.
Diffstat (limited to 'packages/wireless-tools')
-rwxr-xr-xpackages/wireless-tools/wireless-tools/wireless-tools.if-pre-up8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up b/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up
index 11fbced462..2518a5c834 100755
--- a/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up
+++ b/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up
@@ -60,10 +60,6 @@ if [ -n "$IF_WIRELESS_RETRY" ]; then
$IWCONFIG "$IFACE" retry $IF_WIRELESS_RETRY
fi
-if [ -n "$IF_WIRELESS_ESSID" ]; then
- $IWCONFIG "$IFACE" essid "$IF_WIRELESS_ESSID"
-fi
-
if [ -n "$IF_WIRELESS_NICK" ]; then
$IWCONFIG "$IFACE" nick "$IF_WIRELESS_NICK"
fi
@@ -116,6 +112,10 @@ if [ -n "$IF_WIRELESS_CHANNEL" ]; then
$IWCONFIG "$IFACE" channel $IF_WIRELESS_CHANNEL
fi
+if [ -n "$IF_WIRELESS_ESSID" ]; then
+ $IWCONFIG "$IFACE" essid "$IF_WIRELESS_ESSID"
+fi
+
if [ -n "$IF_WIRELESS_COMMIT" ]; then
$IWCONFIG "$IFACE" commit
fi