diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2009-08-17 15:22:07 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2009-08-17 15:23:52 -0700 |
commit | 2b0606a05477a91a9cc0ef39cb531efe788e2e97 (patch) | |
tree | 0281a041441607ca591c94f69033c70b59ef798f /bcm4329/src/dhd/sys/dhd_common.c | |
parent | 4d92e4c7da35860a39214c8fdb794ce0243dfabb (diff) | |
download | hardware_replicant_wlan-2b0606a05477a91a9cc0ef39cb531efe788e2e97.tar.gz hardware_replicant_wlan-2b0606a05477a91a9cc0ef39cb531efe788e2e97.tar.bz2 hardware_replicant_wlan-2b0606a05477a91a9cc0ef39cb531efe788e2e97.zip |
Initial HW porting, adding wakelocks and wakeup interrupt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'bcm4329/src/dhd/sys/dhd_common.c')
-rw-r--r-- | bcm4329/src/dhd/sys/dhd_common.c | 9 |
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 |