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:
parent
ea81fda3bf
commit
181ce4761a
|
|
@ -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\
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue