summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJean Tourrilhes <jt@hpl.hp.com>2005-09-23 21:59:00 -0700
committerJeff Garzik <jgarzik@pobox.com>2005-09-24 03:33:51 -0400
commita9d12b9a4afcfa2cb6f6e76beb4f185a9177c98e (patch)
treeec30834a9f39a737d2f9d01d5c5b561015265ad1 /drivers/net/wireless
parentc28df16ed70d1b6cefd12135e3c68bfccd1bb635 (diff)
[PATCH] hostap: Use GFP_ATOMIC to get rid of weird might_sleep issue
This is the trace I got : Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/hostap/hostap_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_ioctl.c b/drivers/net/wireless/hostap/hostap_ioctl.c
index dd9817261a3..1764563612a 100644
--- 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;