mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:30:16 +02:00
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31639 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
35009bdf80
commit
b8a14b9359
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user