projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b218b15
)
base-files: wait for wifi modules to settle
author
Jonas Gorski
<jogo@openwrt.org>
Sun, 6 May 2012 21:25:42 +0000
(21:25 +0000)
committer
Jonas Gorski
<jogo@openwrt.org>
Sun, 6 May 2012 21:25:42 +0000
(21:25 +0000)
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
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/boot
b/package/base-files/files/etc/init.d/boot
index 948a09e871118a97137d0f733cca809ff2a92164..250bfe040170d15ffe42b712f31aeffdc5a7603f 100755
(executable)
--- 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