diff options
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index a1faaab41839..4479894e0a5a 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -6380,7 +6380,7 @@ int l2cap_security_cfm(struct hci_conn *hcon, u8 status, u8 encrypt) | |||
6380 | continue; | 6380 | continue; |
6381 | } | 6381 | } |
6382 | 6382 | ||
6383 | if (test_bit(CONF_CONNECT_PEND, &chan->conf_state)) { | 6383 | if (!__l2cap_no_conn_pending(chan)) { |
6384 | l2cap_chan_unlock(chan); | 6384 | l2cap_chan_unlock(chan); |
6385 | continue; | 6385 | continue; |
6386 | } | 6386 | } |