diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-18 13:28:52 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-18 13:28:52 +0000 |
commit | fcb91af765caa692b83de29caada7c85eb711b86 (patch) | |
tree | 69f8354699a5ae9713b4622d63bdaa7b2d1a6f2e /meta/packages/wireless-tools | |
parent | 66576a053de6160a229c30dde6bf5d321af3d6b4 (diff) | |
download | poky-fcb91af765caa692b83de29caada7c85eb711b86.tar.gz |
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
Diffstat (limited to 'meta/packages/wireless-tools')
-rwxr-xr-x | meta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up | 8 |
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 11fbced462..2518a5c834 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 | |||
60 | $IWCONFIG "$IFACE" retry $IF_WIRELESS_RETRY | 60 | $IWCONFIG "$IFACE" retry $IF_WIRELESS_RETRY |
61 | fi | 61 | fi |
62 | 62 | ||
63 | if [ -n "$IF_WIRELESS_ESSID" ]; then | ||
64 | $IWCONFIG "$IFACE" essid "$IF_WIRELESS_ESSID" | ||
65 | fi | ||
66 | |||
67 | if [ -n "$IF_WIRELESS_NICK" ]; then | 63 | if [ -n "$IF_WIRELESS_NICK" ]; then |
68 | $IWCONFIG "$IFACE" nick "$IF_WIRELESS_NICK" | 64 | $IWCONFIG "$IFACE" nick "$IF_WIRELESS_NICK" |
69 | fi | 65 | fi |
@@ -116,6 +112,10 @@ if [ -n "$IF_WIRELESS_CHANNEL" ]; then | |||
116 | $IWCONFIG "$IFACE" channel $IF_WIRELESS_CHANNEL | 112 | $IWCONFIG "$IFACE" channel $IF_WIRELESS_CHANNEL |
117 | fi | 113 | fi |
118 | 114 | ||
115 | if [ -n "$IF_WIRELESS_ESSID" ]; then | ||
116 | $IWCONFIG "$IFACE" essid "$IF_WIRELESS_ESSID" | ||
117 | fi | ||
118 | |||
119 | if [ -n "$IF_WIRELESS_COMMIT" ]; then | 119 | if [ -n "$IF_WIRELESS_COMMIT" ]; then |
120 | $IWCONFIG "$IFACE" commit | 120 | $IWCONFIG "$IFACE" commit |
121 | fi | 121 | fi |