[Debian-eeepc-devel] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 82abfcd8156cb403b195e8cec5415e838dd9d479

Nico Golde nion at debian.org
Wed Jun 18 19:01:39 UTC 2008


The following commit has been merged in the master branch:
commit 82abfcd8156cb403b195e8cec5415e838dd9d479
Author: Nico Golde <nion at debian.org>
Date:   Wed Jun 18 21:01:19 2008 +0200

    fixing #485236

diff --git a/actions/wireless.sh b/actions/wireless.sh
index c5c5c01..5cb1c52 100755
--- a/actions/wireless.sh
+++ b/actions/wireless.sh
@@ -9,6 +9,9 @@ case $1 in
 	    modprobe pciehp pciehp_force=1
 	    echo 1 > $wlan_control
 	    modprobe ath_pci
+	    # adding a sleep here, due to some bug the driver loading is not atomic here
+	    # and could cause ifconfig to fail
+	    sleep 1
 	    if ! ifconfig ath0 up; then exec $0 off; fi
 	fi
 	;;
diff --git a/debian/changelog b/debian/changelog
index 2007a3b..04326de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,10 @@
 eeepc-acpi-scripts (1.0.3) unstable; urgency=low
 
+  [ Nico Golde]
+  * Add sleep after loading ath_pci to prevent ifconfig failing
+    because the interface is not already up (Closes: #485236).
+
+  [ Ben Armstrong ]
   * lid.sh, lid: only suspend if a power manager is not present,
     otherwise let the power manager handle it.
   * Fix regex for display detection in hotkey.sh.

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-devel mailing list