aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsangamanatha <sangam.swamy@samsung.com>2011-03-25 09:39:00 +0900
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:53:45 -0800
commitc59b39369e4925d1a04cbb347e491c7bf9f600fb (patch)
tree985d9002c29e90bdaf91e54666aac5eab092b207
parent09d8b26e7a0fdde867db7d3b2a941b9cb76191fa (diff)
downloadkernel_samsung_crespo-c59b39369e4925d1a04cbb347e491c7bf9f600fb.zip
kernel_samsung_crespo-c59b39369e4925d1a04cbb347e491c7bf9f600fb.tar.gz
kernel_samsung_crespo-c59b39369e4925d1a04cbb347e491c7bf9f600fb.tar.bz2
net: wimax: cmc7xx: alloc with GFP_ATOMIC in xmit
Change-Id: Ibf65e0c0f9d93b2a09a56a908380e96807edb473 Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
-rwxr-xr-xdrivers/net/wimax/cmc7xx/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wimax/cmc7xx/send.c b/drivers/net/wimax/cmc7xx/send.c
index 1ea1b89..63337bc 100755
--- a/drivers/net/wimax/cmc7xx/send.c
+++ b/drivers/net/wimax/cmc7xx/send.c
@@ -117,11 +117,11 @@ u32 hw_send_data(struct net_adapter *adapter, void *buffer , u32 length)
u8 *ptr;
bufdsc = (struct buffer_descriptor *)
- kmalloc(sizeof(struct buffer_descriptor), GFP_KERNEL);
+ kmalloc(sizeof(struct buffer_descriptor), GFP_ATOMIC);
if (bufdsc == NULL)
return STATUS_RESOURCES;
- bufdsc->buffer = kmalloc(BUFFER_DATA_SIZE, GFP_KERNEL);
+ bufdsc->buffer = kmalloc(BUFFER_DATA_SIZE, GFP_ATOMIC);
if (bufdsc->buffer == NULL) {
kfree(bufdsc);
return STATUS_RESOURCES;