diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-17 12:55:52 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-17 12:55:56 +1100 |
commit | 2bf88e1cb7b556a34f750e3dff95b03e8ae83606 (patch) | |
tree | a4d1d02b35b33994322ad917a11e2527891ec1bd /net/bluetooth/6lowpan.c | |
parent | 4923ffc1ba3a1a8fe30418aff905194dee483c15 (diff) | |
parent | 1098ea741fc4168264185b6782135d029dce435c (diff) |
Merge remote-tracking branch 'tip/auto-latest'
Diffstat (limited to 'net/bluetooth/6lowpan.c')
-rw-r--r-- | net/bluetooth/6lowpan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index 1904a93f47d5..d491529332f4 100644 --- a/net/bluetooth/6lowpan.c +++ b/net/bluetooth/6lowpan.c @@ -920,7 +920,7 @@ static void chan_close_cb(struct l2cap_chan *chan) BT_DBG("dev %p removing %speer %p", dev, last ? "last " : "1 ", peer); BT_DBG("chan %p orig refcnt %d", chan, - atomic_read(&chan->kref.refcount)); + kref_read(&chan->kref)); l2cap_chan_put(chan); break; |