Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9d12b9a authored by Jean Tourrilhes's avatar Jean Tourrilhes Committed by Jeff Garzik
Browse files

[PATCH] hostap: Use GFP_ATOMIC to get rid of weird might_sleep issue



	This is the trace I got :
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent c28df16e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;