summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-01-18 13:28:52 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-01-18 13:28:52 +0000
commitfcb91af765caa692b83de29caada7c85eb711b86 (patch)
tree69f8354699a5ae9713b4622d63bdaa7b2d1a6f2e
parent66576a053de6160a229c30dde6bf5d321af3d6b4 (diff)
downloadopenembedded-core-fcb91af765caa692b83de29caada7c85eb711b86.tar.gz
openembedded-core-fcb91af765caa692b83de29caada7c85eb711b86.tar.bz2
openembedded-core-fcb91af765caa692b83de29caada7c85eb711b86.tar.xz
openembedded-core-fcb91af765caa692b83de29caada7c85eb711b86.zip
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. (from OE) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3537 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rwxr-xr-xmeta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up b/meta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up
index 11fbced46..2518a5c83 100755
--- a/meta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up
+++ b/meta/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