Re: [PATCH 1/1] Bluetooth: make the balance of judgement condition to fix a false report

2018-11-13 Thread Marcel Holtmann
Hi Zumeng, > This patch is to balance the condition scope between hci_get_cmd_complete and > hci_event_packet about orig_skb as follows: > >if (req_complete_skb || event == HCI_EV_CMD_STATUS || >event == HCI_EV_CMD_COMPLETE) >orig_skb = skb_clone(skb,

Re: [PATCH 1/1] Bluetooth: make the balance of judgement condition to fix a false report

2018-11-13 Thread Marcel Holtmann
Hi Zumeng, > This patch is to balance the condition scope between hci_get_cmd_complete and > hci_event_packet about orig_skb as follows: > >if (req_complete_skb || event == HCI_EV_CMD_STATUS || >event == HCI_EV_CMD_COMPLETE) >orig_skb = skb_clone(skb,

[PATCH 1/1] Bluetooth: make the balance of judgement condition to fix a false report

2018-11-07 Thread Zumeng Chen
This patch is to balance the condition scope between hci_get_cmd_complete and hci_event_packet about orig_skb as follows: if (req_complete_skb || event == HCI_EV_CMD_STATUS || event == HCI_EV_CMD_COMPLETE) orig_skb = skb_clone(skb, GFP_KERNEL); And

[PATCH 1/1] Bluetooth: make the balance of judgement condition to fix a false report

2018-11-07 Thread Zumeng Chen
This patch is to balance the condition scope between hci_get_cmd_complete and hci_event_packet about orig_skb as follows: if (req_complete_skb || event == HCI_EV_CMD_STATUS || event == HCI_EV_CMD_COMPLETE) orig_skb = skb_clone(skb, GFP_KERNEL); And