diff options
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) | |||
920 | BT_DBG("dev %p removing %speer %p", dev, | 920 | BT_DBG("dev %p removing %speer %p", dev, |
921 | last ? "last " : "1 ", peer); | 921 | last ? "last " : "1 ", peer); |
922 | BT_DBG("chan %p orig refcnt %d", chan, | 922 | BT_DBG("chan %p orig refcnt %d", chan, |
923 | atomic_read(&chan->kref.refcount)); | 923 | kref_read(&chan->kref)); |
924 | 924 | ||
925 | l2cap_chan_put(chan); | 925 | l2cap_chan_put(chan); |
926 | break; | 926 | break; |