projects
/
GitHub
/
LineageOS
/
G12
/
android_hardware_amlogic_kernel-modules_dhd-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2419535
)
wifi: fix selinux error [1/1]
author
libo
<bo.li@amlogic.com>
Fri, 12 Apr 2019 02:33:16 +0000
(10:33 +0800)
committer
libo
<bo.li@amlogic.com>
Fri, 12 Apr 2019 02:36:18 +0000
(10:36 +0800)
PD#SWPL-5893
Problem:
selinux error
Solution:
fix it
Verify:
test pass on x301
Change-Id: Ib943b51a340f066b53032c2129e442de39110cea
Signed-off-by: libo <bo.li@amlogic.com>
bcmdhd.100.10.315.x/dhd_linux.c
patch
|
blob
|
blame
|
history
diff --git
a/bcmdhd.100.10.315.x/dhd_linux.c
b/bcmdhd.100.10.315.x/dhd_linux.c
index 18a3684222d9c4f5ee13e53a2d2f4df51a130c29..cc8194367859007b40ceae593abbc0a676e63619 100644
(file)
--- a/
bcmdhd.100.10.315.x/dhd_linux.c
+++ b/
bcmdhd.100.10.315.x/dhd_linux.c
@@
-18455,6
+18455,11
@@
void dhd_get_memdump_info(dhd_pub_t *dhd)
int ret = 0;
char *filepath = MEMDUMPINFO;
+#if !defined(CONFIG_X86)
+ mem_val = DUMP_DISABLED;
+ goto done;
+#endif
+
/* Read memdump info from the file */
fp = filp_open(filepath, O_RDONLY, 0);
if (IS_ERR(fp)) {