pmaports/device/linux-htc-protou/no-hardcoded-nvram-path.patch
Ingo Feinerer 28f0e5d4e1
htc-protou: new device (HTC Desire X) (!588)
Changes in the kernel defconfig:
- disable ANDROID_PARANOID_NETWORK (removes network restrictions)
- enable CONFIG_USB_G_ANDROID and CONFIG_DIAG_CHAR (for USB networking)
- enable DEVTMPFS (needed for udev -> touch support in weston)
- enable FB_MSM_DEFAULT_DEPTH_RGB565 (for 16-bit support to avoid red
  screen)
- enable SYSVIPC (so busybox' syslogd can log to a ringbuffer in the
  kernel)
- enable VT (for virtual terminal over USB)

[ci:skip-build]: already built successfully in CI
2019-08-31 21:19:16 +02: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);