summaryrefslogtreecommitdiffstats
path: root/bcm4329/src/dhd/sys/dhd_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'bcm4329/src/dhd/sys/dhd_common.c')
-rw-r--r--bcm4329/src/dhd/sys/dhd_common.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/bcm4329/src/dhd/sys/dhd_common.c b/bcm4329/src/dhd/sys/dhd_common.c
index 6ef71a1..c96a0ac 100644
--- a/bcm4329/src/dhd/sys/dhd_common.c
+++ b/bcm4329/src/dhd/sys/dhd_common.c
@@ -90,7 +90,6 @@ const bcm_iovar_t dhd_iovars[] = {
{NULL, 0, 0, 0, 0 }
};
-
void
dhd_common_init(void)
{
@@ -101,8 +100,16 @@ dhd_common_init(void)
* first time that the driver is initialized vs subsequent initializations.
*/
dhd_msg_level = DHD_ERROR_VAL;
+#ifdef CONFIG_BCM4329_FW_PATH
+ strncpy(fw_path, CONFIG_BCM4329_FW_PATH, MOD_PARAM_PATHLEN-1);
+#else
fw_path[0] = '\0';
+#endif
+#ifdef CONFIG_BCM4329_NVRAM_PATH
+ strncpy(nv_path, CONFIG_BCM4329_NVRAM_PATH, MOD_PARAM_PATHLEN-1);
+#else
nv_path[0] = '\0';
+#endif
}
static int