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 <isaac.hermida@digi.com>
This commit is contained in:
Isaac Hermida 2023-05-03 11:54:39 +02:00
parent ea81fda3bf
commit 181ce4761a
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ auto_ds=1 \
host_mlme=1 \ host_mlme=1 \
drv_mode=${DRIVER_MODE} \ drv_mode=${DRIVER_MODE} \
drvdbg=${DRIVER_DEBUG} \ drvdbg=${DRIVER_DEBUG} \
sta_name=wlan \
fw_name=nxp/sduart_nw61x_v1.bin.se\ fw_name=nxp/sduart_nw61x_v1.bin.se\
" "

View File

@ -28,7 +28,7 @@ if [ "${1}" = "pre" ]; then
if actions_needed; then if actions_needed; then
rm -f "${RESUME_ACTIONS}" 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 if grep -qs ${iface} /var/run/ifstate; then
ifdown ${iface} && echo "ifup ${iface}" >> "${RESUME_ACTIONS}" ifdown ${iface} && echo "ifup ${iface}" >> "${RESUME_ACTIONS}"
fi fi