aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_ioctl.c')
-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 dd9817261a3a..1764563612a8 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,
1935 } 1935 }
1936 1936
1937 /* TODO: add BeaconInt,resp_rate,atim into BSS table */ 1937 /* TODO: add BeaconInt,resp_rate,atim into BSS table */
1938 buf = kmalloc(MAX_WPA_IE_LEN * 2 + 30, GFP_KERNEL); 1938 buf = kmalloc(MAX_WPA_IE_LEN * 2 + 30, GFP_ATOMIC);
1939 if (buf && scan) { 1939 if (buf && scan) {
1940 memset(&iwe, 0, sizeof(iwe)); 1940 memset(&iwe, 0, sizeof(iwe));
1941 iwe.cmd = IWEVCUSTOM; 1941 iwe.cmd = IWEVCUSTOM;