cc93: standby: add a small delay before resuming Wi-Fi
When switching off the 3.3V supply from the Wi-Fi during suspend, around a 10% of the times, when resuming the Wi-Fi driver fails to load. It was verified that a rebind operation over the mmc interface (which eventually calls the script that loads the Wi-Fi module) makes it load successfully, which denotes a timing issue during resume. Adding a small delay on the resume operation before running the script makes the Wi-Fi driver load at the first try. Signed-off-by: Hector Palacios <hector.palacios@digi.com> https://onedigi.atlassian.net/browse/DEL-8821
This commit is contained in:
parent
9248c9ab79
commit
bf1eeabbf5
|
|
@ -47,8 +47,9 @@ if [ "${1}" = "pre" ]; then
|
||||||
fi
|
fi
|
||||||
elif [ "${1}" = "post" ]; then
|
elif [ "${1}" = "post" ]; then
|
||||||
if actions_needed; then
|
if actions_needed; then
|
||||||
/etc/udev/scripts/load_iw612.sh
|
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
|
/etc/udev/scripts/load_iw612.sh
|
||||||
|
|
||||||
sh "${RESUME_ACTIONS}"
|
sh "${RESUME_ACTIONS}"
|
||||||
rm -f "${RESUME_ACTIONS}"
|
rm -f "${RESUME_ACTIONS}"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue