[Bluetooth] Handle command complete event for exit periodic inquiry
The command complete event of the exit periodic inquiry command must clear the HCI_INQUIRY flag and finish the HCI request. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
committed by
David S. Miller
parent
0ac53939a0
commit
defc761bc2
@@ -62,6 +62,7 @@ static void hci_cc_link_ctl(struct hci_dev *hdev, __u16 ocf, struct sk_buff *skb
|
||||
|
||||
switch (ocf) {
|
||||
case OCF_INQUIRY_CANCEL:
|
||||
case OCF_EXIT_PERIODIC_INQ:
|
||||
status = *((__u8 *) skb->data);
|
||||
|
||||
if (status) {
|
||||
|
Reference in New Issue
Block a user