Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315679
b: refs/heads/master
c: a0dfe0a
h: refs/heads/master
i:
  315677: f730e9f
  315675: 8c76fb9
  315671: 5c44b19
  315663: d3084c6
  315647: 8df9f2f
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed Jul 11, 2012
1 parent 5c72f98 commit da70f77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 4b10b274e22ca6df1cda2fccf3870b8586feec15
refs/heads/master: a0dfe0ab6bf194805ce9d6a2dc81efab7a4a7fda
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/a2mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ static struct l2cap_chan *a2mp_chan_open(struct l2cap_conn *conn)
/* AMP Manager functions */
void amp_mgr_get(struct amp_mgr *mgr)
{
BT_DBG("mgr %p", mgr);
BT_DBG("mgr %p orig refcnt %d", mgr, atomic_read(&mgr->kref.refcount));

kref_get(&mgr->kref);
}
Expand All @@ -517,7 +517,7 @@ static void amp_mgr_destroy(struct kref *kref)

int amp_mgr_put(struct amp_mgr *mgr)
{
BT_DBG("mgr %p", mgr);
BT_DBG("mgr %p orig refcnt %d", mgr, atomic_read(&mgr->kref.refcount));

return kref_put(&mgr->kref, &amp_mgr_destroy);
}
Expand Down

0 comments on commit da70f77

Please sign in to comment.