projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c28df16
)
[PATCH] hostap: Use GFP_ATOMIC to get rid of weird might_sleep issue
author
Jean Tourrilhes
<jt@hpl.hp.com>
Sat, 24 Sep 2005 04:59:00 +0000
(21:59 -0700)
committer
Jeff Garzik
<jgarzik@pobox.com>
Sat, 24 Sep 2005 07:33:51 +0000
(
03:33
-0400)
This is the trace I got :
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/wireless/hostap/hostap_ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/hostap/hostap_ioctl.c
b/drivers/net/wireless/hostap/hostap_ioctl.c
index dd9817261a3a4ced89e618edde516e54c3932e47..1764563612a86bc3ef0c6ac9677f6beaf4a4c520 100644
(file)
--- a/
drivers/net/wireless/hostap/hostap_ioctl.c
+++ b/
drivers/net/wireless/hostap/hostap_ioctl.c
@@
-1935,7
+1935,7
@@
static char * __prism2_translate_scan(local_info_t *local,
}
/* TODO: add BeaconInt,resp_rate,atim into BSS table */
- buf = kmalloc(MAX_WPA_IE_LEN * 2 + 30, GFP_
KERNEL
);
+ buf = kmalloc(MAX_WPA_IE_LEN * 2 + 30, GFP_
ATOMIC
);
if (buf && scan) {
memset(&iwe, 0, sizeof(iwe));
iwe.cmd = IWEVCUSTOM;