pmaports/device/community/wl1251-cal/n900-update-wl1251
Stefan Hansson 85b2f83b9d
wl1251-cal: move to device (MR 4707)
This is a device-specific package. The only device that depends on
this, device-nokia-n900, is in community, so let's move it there too.

[ci:skip-build]: already built successfully in CI
2024-01-10 20:27:38 +01:00

10 lines
292 B
Bash

#!/bin/sh -e
if [ -e /in-pmbootstrap ]; then
echo "Skipping update of N900 WLAN calibration data (running in pmbootstrap)"
exit 0
fi
echo "Updating N900's WLAN calibration data.."
wl1251-cal --nvs-loading=/dev/null --nvs-push-data=/lib/firmware/ti-connectivity/wl1251-nvs.bin
echo "Done"