mwifiex/mxm_wifiex/wlan_src/script/unload
Luke Wang 949ea3ecca mxm_wifiex: update to mxm6x17437.p18 release
Corresponding firmware version:
SDIO-UART W8987 Firmware version 16.92.21.p119.3
PCIE-UART W8997 Firmware version 16.92.21.p119.3
SDIO-UART W8997 Firmware version 16.92.21.p119.3
SDIO-UART IW416 Firmware version 16.92.21.p119.9
SDIO_UART IW612 Firmware version 18.99.3.p5.1
SDIO-UART W8801 Firmware version 14.92.36.p192
SDIO-UART W9098 Firmware version 17.92.1.p149.40
PCIE-UART W9098 Firmware version 17.92.1.p149.40

Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
2024-05-08 14:21:20 +08:00

24 lines
434 B
Bash

#! /bin/bash
ifconfig mlan0 down
ifconfig uap0 down
ifconfig mmlan0 down
ifconfig muap0 down
ifconfig uap1 down
ifconfig muap1 down
ifconfig wfd0 down
ifconfig wfd1 down
ifconfig mwfd0 down
ifconfig mwfd1 down
ifconfig nan0 down
ifconfig mnan0 down
for (( i = 0; i <= 30; i++ ))
do
rmmod moal 2> /dev/null
lsmod 2>&1 | grep moal > /dev/null
if [ ! $? -eq 0 ]; then
break
fi
sleep 1
done
rmmod mlan
sleep 5