Verified Commit d02f4275 authored by OyyoDams's avatar OyyoDams

fix(wifi): add delay to ensure stability on some boards

parent a8565781
......@@ -31,6 +31,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Add a CI stage for linting
- Update Theodore core: add emulation of Thomson MO6 and Olivetti Prodest PC128
- Fix key-based SSH login with NTFS and ExFAT external drives
- Fix wifi issue on some boards
## [6.0] - DragonBlaze
- Change name from 5.0 to 6.0 DragonBlaze
......
......@@ -51,11 +51,11 @@ case "$1" in
if [ `egrep "^wifi.enabled" /boot/recalbox-backup.conf|sed "s/wifi.enabled=//g"` -ne 0 ]
then
recallog "Wifi option enabled, trying to configure"
sleep 1 # wait a bit to be sure tmpfs is initialized
sleep 2 # wait a bit to be sure tmpfs is initialized
for i in {1..3}; do
rb_wifi_boot_configure $i&
done
sleep 1 # wait a bit, otherwise, connman is not really started
sleep 2 # wait a bit, otherwise, connman is not really started
/usr/bin/connmanctl enable wifi || exit 1
settings_region=`egrep "^wifi.region" /boot/recalbox-backup.conf|sed "s/wifi.region=//g"`
if [[ "$settings_region" != "" ]] ;then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment