From 181ce4761a9d1a9f4adba70499ac563560b777e5 Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Wed, 3 May 2023 11:54:39 +0200 Subject: [PATCH] cc93: iw612: rename name of main wlan interface rename interface sta_name to be "wlan0" instead of "mlan0", so it keeps compatibility with other platforms. Signed-off-by: Isaac Hermida --- .../kernel-modules/kernel-module-nxp-wlan/load_iw612.sh | 1 + .../recipes-core/busybox/busybox/ccimx93/standby-actions | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-kernel/kernel-modules/kernel-module-nxp-wlan/load_iw612.sh b/meta-digi-arm/recipes-kernel/kernel-modules/kernel-module-nxp-wlan/load_iw612.sh index e34e4804b..8a8539688 100644 --- a/meta-digi-arm/recipes-kernel/kernel-modules/kernel-module-nxp-wlan/load_iw612.sh +++ b/meta-digi-arm/recipes-kernel/kernel-modules/kernel-module-nxp-wlan/load_iw612.sh @@ -19,6 +19,7 @@ auto_ds=1 \ host_mlme=1 \ drv_mode=${DRIVER_MODE} \ drvdbg=${DRIVER_DEBUG} \ +sta_name=wlan \ fw_name=nxp/sduart_nw61x_v1.bin.se\ " diff --git a/meta-digi-dey/recipes-core/busybox/busybox/ccimx93/standby-actions b/meta-digi-dey/recipes-core/busybox/busybox/ccimx93/standby-actions index b651777bc..154b40520 100644 --- a/meta-digi-dey/recipes-core/busybox/busybox/ccimx93/standby-actions +++ b/meta-digi-dey/recipes-core/busybox/busybox/ccimx93/standby-actions @@ -28,7 +28,7 @@ if [ "${1}" = "pre" ]; then if actions_needed; then rm -f "${RESUME_ACTIONS}" - for iface in mlan0 uap0 wfd0; do + for iface in wlan0 uap0 wfd0; do if grep -qs ${iface} /var/run/ifstate; then ifdown ${iface} && echo "ifup ${iface}" >> "${RESUME_ACTIONS}" fi