|
@@ -3547,7 +3547,7 @@ static void hci_cmd_work(struct work_struct *work)
|
|
|
|
|
|
kfree_skb(hdev->sent_cmd);
|
|
kfree_skb(hdev->sent_cmd);
|
|
|
|
|
|
- hdev->sent_cmd = skb_clone(skb, GFP_ATOMIC);
|
|
|
|
|
|
+ hdev->sent_cmd = skb_clone(skb, GFP_KERNEL);
|
|
if (hdev->sent_cmd) {
|
|
if (hdev->sent_cmd) {
|
|
atomic_dec(&hdev->cmd_cnt);
|
|
atomic_dec(&hdev->cmd_cnt);
|
|
hci_send_frame(skb);
|
|
hci_send_frame(skb);
|