From 80650c9475ce20b379b2cf3f3f46fa52098eb6e9 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sun, 6 May 2012 21:25:42 +0000 Subject: [PATCH] base-files: wait for wifi modules to settle On slower devices wifi drivers might take too long for detecting devices, resulting in the wifi detect call not seeing them. This was observed on a bcm6348 with bcm4318 wifi. Adding a one second pause was enough for b43 to expose the device. SVN-Revision: 31639 --- package/base-files/files/etc/init.d/boot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 948a09e871..250bfe0401 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -71,6 +71,9 @@ start() { load_modules /etc/modules.d/* + # allow wifi modules time to settle + sleep 1 + /sbin/wifi detect > /tmp/wireless.tmp [ -s /tmp/wireless.tmp ] && { cat /tmp/wireless.tmp >> /etc/config/wireless -- 2.25.1