From 368d1ebe56649706773f191a9b997f92df28c7b2 Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Wed, 30 Nov 2016 12:15:08 +0100 Subject: [PATCH] ccimx6ul: suspend: do not load the wireless module on resume The loading of the wireless module without proper arguments does nothing. Besides, if the interface was down before going to suspend, there is no need for the wireless module to be loaded. The wireless module will be loaded nevertheless (with proper arguments) when the interface is brought up. Signed-off-by: Hector Palacios https://jira.digi.com/browse/DEL-3241 --- .../recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend b/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend index 597b441c2..c13b3502c 100755 --- a/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend +++ b/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend @@ -39,7 +39,7 @@ suspend_interfaces() { resume_interfaces() { if ! grep -qs '^wlan0' /var/run/ifstate; then - [ -n "${up_wlan_on_resume}" ] && modprobe wlan && sleep 0.5 && ifup wlan0 + [ -n "${up_wlan_on_resume}" ] && ifup wlan0 fi [ -n "${up_hci0_on_resume}" ] && hciconfig hci0 up }