Skip to content

Commit

Permalink
[PATCH] hostap: Use GFP_ATOMIC to get rid of weird might_sleep issue
Browse files Browse the repository at this point in the history
	This is the trace I got :
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
Jean Tourrilhes authored and Jeff Garzik committed Sep 24, 2005
1 parent c28df16 commit a9d12b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/hostap/hostap_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a9d12b9

Please sign in to comment.