projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b2bb63
)
bcmdhd: fix crash in AP mode
author
Nick Xie
<nick@khadas.com>
Sat, 24 Oct 2020 08:39:19 +0000
(16:39 +0800)
committer
Nick Xie
<nick@khadas.com>
Sat, 24 Oct 2020 08:39:19 +0000
(16:39 +0800)
https://forum.khadas.com/t/vim3-12-kernel-4-9-232-error-because-of-hostapd/9919
Signed-off-by: Nick Xie <nick@khadas.com>
drivers/net/wireless/bcmdhd/dhd_config.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcmdhd/dhd_config.c
b/drivers/net/wireless/bcmdhd/dhd_config.c
index c308fd0125539ca6bd88091ca476e7726718b172..6a5bd3f6b49f9b28ee3f8fdb908e1a9691ebadfe 100644
(file)
--- a/
drivers/net/wireless/bcmdhd/dhd_config.c
+++ b/
drivers/net/wireless/bcmdhd/dhd_config.c
@@
-141,6
+141,7
@@
dhd_conf_free_chip_nv_path_list(wl_chip_nv_path_list_ctrl_t *chip_nv_list)
if (chip_nv_list->m_chip_nv_path_head) {
\r
CONFIG_TRACE("Free %p\n", chip_nv_list->m_chip_nv_path_head);
\r
kfree(chip_nv_list->m_chip_nv_path_head);
\r
+ chip_nv_list->m_chip_nv_path_head = NULL;
\r
}
\r
chip_nv_list->count = 0;
\r
}
\r