diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-09-21 16:04:00 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 18:01:29 -0700 |
commit | defc761bc25643eeedee3abd6af0079ef214b55d (patch) | |
tree | 4ac4e3584629345f8c20f5dcaace2cb011fa9a94 /net/bluetooth | |
parent | 0ac53939a06c610b394aeb0211b985804f2d2da3 (diff) | |
download | linux-defc761bc25643eeedee3abd6af0079ef214b55d.tar.gz linux-defc761bc25643eeedee3abd6af0079ef214b55d.tar.bz2 linux-defc761bc25643eeedee3abd6af0079ef214b55d.zip |
[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>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/hci_event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 3896dabab11d..c6cd243939e6 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -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) { |