]> code.ossystems Code Review - openembedded-core.git/commitdiff
wireless-tools.if-pre-up - move setting of the ESSID to the end of the script,
authorMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 18 Jan 2008 13:28:52 +0000 (13:28 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 18 Jan 2008 13:28:52 +0000 (13:28 +0000)
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

meta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up

index 11fbced462b23313d586f4d0a05b497df71a4058..2518a5c834ad7a2a2245d93c79a882e4ef8fcf2d 100755 (executable)
@@ -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