ifconfig mlan0 down
ifconfig uap0 down
ifconfig uap1 down
ifconfig wfd0 down
#cardctl suspend
for (( i = 0; i <= 30; i++ ))
do
    rmmod sd8xxx 2> /dev/null
    lsmod 2>&1 | grep sd8xxx > /dev/null
    if [ ! $? -eq 0 ]; then
        break
    fi
    sleep 1
done
rmmod mlan
