meta-digi-del: add sleep to suspend/resume script
This gives more time for the interfaces to resume. This fixes a race condition where the script tries to bring up the wireless interface before actually being available. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
9b94c4bf3b
commit
ce61322b9c
|
|
@ -100,6 +100,7 @@ if [ -f "${syspower}" ]; then
|
|||
|
||||
# Suspend the device
|
||||
printf "mem" > ${syspower}
|
||||
sleep .5
|
||||
|
||||
# Post-resume actions
|
||||
resume_storage_devices
|
||||
|
|
|
|||
Loading…
Reference in New Issue