[oe-commits] Chia-I Wu : fastboot: wireless-tools: Make zzz-wireless. if-pre-up only for dhcp.
GIT User account
git at amethyst.openembedded.net
Mon Jan 12 06:39:08 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: b76195779a2544c7d18a048f8a196d9a5137a865
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b76195779a2544c7d18a048f8a196d9a5137a865
Author: Chia-I Wu <olv at openmoko.com>
Date: Thu Oct 30 16:16:33 2008 +0800
fastboot: wireless-tools: Make zzz-wireless.if-pre-up only for dhcp.
---
.../wireless-tools/zzz-wireless.if-pre-up | 4 ++--
packages/wireless-tools/wireless-tools_29.bb | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up b/packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up
index 4c8e95b..85fcc87 100644
--- a/packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up
+++ b/packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up
@@ -15,7 +15,7 @@ RETRIES=15
SLEEPTIME=1
# Only sleep if we use DHCP (add others methods seperated by spaces)
-ONLY_FOR="static dhcp"
+ONLY_FOR="dhcp"
if [ -z "$IF_WIRELESS_TYPE" ] && echo "$ONLY_FOR" | grep -q "$METHOD" ; then
$IFCONFIG $IFACE up
@@ -25,7 +25,7 @@ if [ -z "$IF_WIRELESS_TYPE" ] && echo "$ONLY_FOR" | grep -q "$METHOD" ; then
RETRIES=$(($RETRIES-1))
$SLEEP $SLEEPTIME
done
-
+
if [ $RETRIES -eq 0 ]; then
$LOGGER Timeout waiting for association, continuing anyway...
else
diff --git a/packages/wireless-tools/wireless-tools_29.bb b/packages/wireless-tools/wireless-tools_29.bb
index 7f08db8..e5c498b 100644
--- a/packages/wireless-tools/wireless-tools_29.bb
+++ b/packages/wireless-tools/wireless-tools_29.bb
@@ -1,3 +1,3 @@
require wireless-tools.inc
-PR = "r0"
+PR = "r1"
More information about the Openembedded-commits
mailing list