Commit 83f0f3ea authored by Guido Gunther's avatar Guido Gunther
Browse files

d/ Drop hack

With the module build passing we don't need to hack around it
parent 2069e3aa
Pipeline #58496 passed with stages
in 1 minute and 39 seconds
......@@ -42,24 +42,31 @@ unload() {
echo "Building driver"
# Oddly fails with exit code 7
dkms build -m rs9116 -v "${VERSION}" || true
dkms install -m rs9116 -v "${VERSION}"
echo "Unloading redpine modules"
rmmod -v redpine_sdio redpine_91x
insmod "${MODULE_PATH}"/rsi_91x.ko dev_oper_mode=13 rsi_zone_enabled=1
set -e
modprobe rsi_91x dev_oper_mode=13 rsi_zone_enabled=1
wifi_power on
sleep 1
echo "Loading redpine update modules to burn firmware"
insmod "${MODULE_PATH}/rsi_sdio.ko"
modprobe rsi_sdio
sleep 5
echo "Unloading redpine update modules"
rmmod -v rsi_sdio rsi_91x
modprobe -r rsi_sdio
if lsmod | grep -qs ^rsi_; then
echo "Failed to unload rsi modules"
exit 1
dkms uninstall rs9116/"${VERSION}"
echo "Re-loading redpine modules"
modprobe redpine_sdio
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