projects
/
GitHub
/
LineageOS
/
G12
/
android_hardware_amlogic_kernel-modules_dhd-driver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wifi: optimize fix r311 wifi panic issue [1/1]
[GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_dhd-driver.git]
/
bcmdhd.1.579.77.41.1.cn
/
dbus.c
diff --git
a/bcmdhd.1.579.77.41.1.cn/dbus.c
b/bcmdhd.1.579.77.41.1.cn/dbus.c
index 1f040e72669c31da7b0dcc6dea42af8dfd4e8fd3..7c77bbe51f0231ef21e333ded51c076a47cdb98c 100644
(file)
--- a/
bcmdhd.1.579.77.41.1.cn/dbus.c
+++ b/
bcmdhd.1.579.77.41.1.cn/dbus.c
@@
-647,6
+647,8
@@
dbus_get_fw_nvram(dhd_bus_t *dhd_bus, char *pfw_path, char *pnv_path)
if (nv_image)
dhd_os_close_image(nv_image);
+ nv_image = NULL;
+
/* For Get first block of fw to calculate total_len */
file_exists = ((pfw_path != NULL) && (pfw_path[0] != '\0'));
if (file_exists) {