projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66e8b6c
)
[Bluetooth] Add direction and timestamp to stack internal events
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 6 Aug 2005 10:36:54 +0000
(12:36 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 6 Aug 2005 10:36:54 +0000
(12:36 +0200)
This patch changes the direction to incoming and adds the timestamp
to all stack internal events.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/hci_event.c
b/net/bluetooth/hci_event.c
index 26050d13fb4702c6a9485d0a0fe9be0b93b5e661..46367bd129c34d14df31b23437b5af0d2bc3089d 100644
(file)
--- a/
net/bluetooth/hci_event.c
+++ b/
net/bluetooth/hci_event.c
@@
-1035,6
+1035,9
@@
void hci_si_event(struct hci_dev *hdev, int type, int dlen, void *data)
ev->type = type;
memcpy(ev->data, data, dlen);
+ bt_cb(skb)->incoming = 1;
+ do_gettimeofday(&skb->stamp);
+
skb->pkt_type = HCI_EVENT_PKT;
skb->dev = (void *) hdev;
hci_send_to_sock(hdev, skb);