mwifiex/script/load
Sherry Sun 7954d47c45 MA-22420 [All platform] move all WiFi drvier code to repo root path
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>
2024-05-10 15:55:49 +00:00

16 lines
302 B
Bash

#! /bin/bash
if echo $1 2>&1 | grep dbg > /dev/null; then
insmod mlan-dbg.ko
else
insmod mlan.ko
fi
insmod $1.ko $2 $3 $4 $5 $6 $7 $8
for (( i = 1; i <= 10; i++ ))
do
ifconfig -a 2>&1 | grep -E "(mlan0|uap0|wfd0)" > /dev/null
if [ $? -eq 0 ]; then
exit
fi
sleep 1
done