pmaports/device/downstream/linux-htc-protou/no-hardcoded-nvram-path.patch
Luca Weiss a45ad4b1b1
device/testing/*: split downstream ports into new downstream category
[ci:skip-build] # way too many packages changed
[ci:skip-vercheck] # just moving

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6519
2025-05-22 15:43:23 -07:00

14 lines
519 B
Diff

Avoid hardcoded NVRAM path so that the kernel configuration parameter
CONFIG_BCMDHD_NVRAM_PATH is used.
diff --git a/drivers/net/wireless/bcmdhd_4330/dhd_linux.c b/drivers/net/wireless/bcmdhd_4330/dhd_linux.c
--- a/drivers/net/wireless/bcmdhd_4330/dhd_linux.c
+++ b/drivers/net/wireless/bcmdhd_4330/dhd_linux.c
@@ -3623,7 +3623,6 @@ dhd_bus_start(dhd_pub_t *dhdp)
dhd_os_sdlock(dhdp);
#endif
- sprintf(nv_path, "/etc/calibration");
printf("%s: fw_path=%s, nv_path=%s\n", __FUNCTION__, fw_path, nv_path);