diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c index d101f7b3505e..f224b2db0249 100755 --- a/net/bluetooth/rfcomm/core.c +++ b/net/bluetooth/rfcomm/core.c @@ -1147,8 +1147,7 @@ static int rfcomm_recv_ua(struct rfcomm_session *s, u8 dlci) break; case BT_DISCONN: - if (s->sock->sk->sk_state != BT_CLOSED) - rfcomm_session_put(s); + rfcomm_session_put(s); break; } }