Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328194
b: refs/heads/master
c: 9472007
h: refs/heads/master
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed Sep 8, 2012
1 parent 97489f1 commit da7fe29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b536b5e5e1da32f3ba1e3f42c7bf2f80d37dc6b
refs/heads/master: 9472007c62ecc8f21daa2e1e252bf73b67e535fc
2 changes: 1 addition & 1 deletion trunk/include/net/bluetooth/hci_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ void hci_conn_hash_flush(struct hci_dev *hdev);
void hci_conn_check_pending(struct hci_dev *hdev);

struct hci_chan *hci_chan_create(struct hci_conn *conn);
int hci_chan_del(struct hci_chan *chan);
void hci_chan_del(struct hci_chan *chan);
void hci_chan_list_flush(struct hci_conn *conn);

struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst,
Expand Down
4 changes: 1 addition & 3 deletions trunk/net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ struct hci_chan *hci_chan_create(struct hci_conn *conn)
return chan;
}

int hci_chan_del(struct hci_chan *chan)
void hci_chan_del(struct hci_chan *chan)
{
struct hci_conn *conn = chan->conn;
struct hci_dev *hdev = conn->hdev;
Expand All @@ -948,8 +948,6 @@ int hci_chan_del(struct hci_chan *chan)

skb_queue_purge(&chan->data_q);
kfree(chan);

return 0;
}

void hci_chan_list_flush(struct hci_conn *conn)
Expand Down

0 comments on commit da7fe29

Please sign in to comment.