From b76195779a2544c7d18a048f8a196d9a5137a865 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 30 Oct 2008 16:16:33 +0800 Subject: fastboot: wireless-tools: Make zzz-wireless.if-pre-up only for dhcp. --- packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up | 4 ++-- packages/wireless-tools/wireless-tools_29.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/wireless-tools') 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 4c8e95bf2a..85fcc87a99 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 7f08db81c7..e5c498bbfa 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" -- cgit v1.2.3