pmaports/device/testing/linux-htc-protou/no-hardcoded-nvram-path.patch
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01: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);