mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
7954d47c45
Reason:for WCS's request and Marketing's suggestion, move wifi driver to root path Tested:on i.MX 8MQ Change the folder layout to make it more clear Change-Id: Idf5663adccc1dfe90d5b62e5ee31187bcae37dec Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
24 lines
434 B
Bash
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
|