diff options
Diffstat (limited to 'drivers/bluetooth/ath3k.c')
| -rw-r--r-- | drivers/bluetooth/ath3k.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c index db7cb8111fb..106beb194f3 100644 --- a/drivers/bluetooth/ath3k.c +++ b/drivers/bluetooth/ath3k.c @@ -105,7 +105,7 @@ static int ath3k_load_firmware(struct usb_device *udev,  	pipe = usb_sndctrlpipe(udev, 0); -	send_buf = kmalloc(BULK_SIZE, GFP_ATOMIC); +	send_buf = kmalloc(BULK_SIZE, GFP_KERNEL);  	if (!send_buf) {  		BT_ERR("Can't allocate memory chunk for firmware");  		return -ENOMEM; @@ -176,7 +176,7 @@ static int ath3k_load_fwfile(struct usb_device *udev,  	count = firmware->size; -	send_buf = kmalloc(BULK_SIZE, GFP_ATOMIC); +	send_buf = kmalloc(BULK_SIZE, GFP_KERNEL);  	if (!send_buf) {  		BT_ERR("Can't allocate memory chunk for firmware");  		return -ENOMEM;  |