Commit 31672a8e authored by Guido Gunther's avatar Guido Gunther
Browse files

update-firmware: Make sure we don't try to update with rsi modules alerady loaded

It will not work sine the modprobe does nothing then.
parent 3bba0e61
Pipeline #58540 passed with stages
in 1 minute and 33 seconds
......@@ -41,6 +41,11 @@ unload
rmmod -v redpine_sdio redpine_91x
set -e
if lsmod | grep -qs ^rsi_; then
echo "rsi modules already loaded, trying to unload."
modprobe -r rsi_sdio
modprobe rsi_91x dev_oper_mode=13 rsi_zone_enabled=1
wifi_power on
sleep 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment