9dbcc5d00c
* Add kernel module compilation * Add wifi firmware from vendor files (to `/lib/firmware/postmarketos`) and fix modules install path * Add patch to change hardcoded dhd firmware/nvram paths * Add wifi module (dhd) to the list of kernel modules that should be loaded at boot time Details: https://github.com/postmarketOS/pmbootstrap/pull/138 Thanks you very much, drebrez \o/
15 lines
847 B
Diff
15 lines
847 B
Diff
diff --git a/drivers/net/wireless/bcmdhd/dhd_linux.c b/drivers/net/wireless/bcmdhd/dhd_linux.c
|
|
index ed549c3..09e83f6 100644
|
|
--- a/drivers/net/wireless/bcmdhd/dhd_linux.c
|
|
+++ b/drivers/net/wireless/bcmdhd/dhd_linux.c
|
|
@@ -361,8 +361,8 @@ uint dhd_download_fw_on_driverload = TRUE;
|
|
/* Definitions to provide path to the firmware and nvram
|
|
* example nvram_path[MOD_PARAM_PATHLEN]="/projects/wlan/nvram.txt"
|
|
*/
|
|
-char firmware_path[MOD_PARAM_PATHLEN]="/system/etc/wifi/bcmdhd_sta.bin";
|
|
-char nvram_path[MOD_PARAM_PATHLEN]="/system/etc/wifi/nvram_net.txt";
|
|
+char firmware_path[MOD_PARAM_PATHLEN]="/lib/firmware/postmarketos/bcmdhd_sta.bin";
|
|
+char nvram_path[MOD_PARAM_PATHLEN]="/lib/firmware/postmarketos/nvram_net.txt";
|
|
|
|
/* information string to keep firmware, chio, cheip version info visiable from log */
|
|
char info_string[MOD_PARAM_INFOLEN];
|