From aa0c2fb886f7ea27caedd09ce29c7daaa5c9d3a6 Mon Sep 17 00:00:00 2001 From: Mike Engel Date: Fri, 10 Mar 2017 09:44:25 +0100 Subject: [PATCH] ccimx6ul: Changed concurrent mode setup script. This commit changes the concurrent mode script to enable always the AP interface through the wireless device but will warn the use if the virtual MAC addresses used are the default once. Signed-off-by: Mike Engel https://jira.digi.com/browse/DEL-3900 --- .../init-ifupdown-1.0/ccimx6ul/virtwlans.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown-1.0/ccimx6ul/virtwlans.sh b/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown-1.0/ccimx6ul/virtwlans.sh index 7b701a84c..1a2bc1f1e 100644 --- a/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown-1.0/ccimx6ul/virtwlans.sh +++ b/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown-1.0/ccimx6ul/virtwlans.sh @@ -19,8 +19,11 @@ if [ -s "/proc/device-tree/wireless/mac-address1" ] && [ -s "/proc/device-tree/wireless/mac-address2" ] && [ -s "/proc/device-tree/wireless/mac-address3" ]; then - iw dev wlan0 interface add wlan1 type managed + : else - echo "ERROR: Missing virtual MAC addresses, please" - echo "program one referring to the Digi U-Boot Documentation" + echo "WARNING: Using default MAC addresses for virtual interfaces, please " + echo "program them referring to the Digi U-Boot Documentation" fi + +# This will create a second wireless network device +iw dev wlan0 interface add wlan1 type managed