Fix disconnect not sent from host when pairing is cancelled
Fixes the issue that disconnect command is not sent
from the host when pairing is cancelled.
CRs-fixed: 489957
Change-Id: I600a526aa9b95a3f17d77d5ef16d91e206ce7161
Signed-off-by: Subramanian Srinivasan <subrsrin@codeaurora.org>
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 9c2b735..b1ee41a 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -718,4 +718,6 @@
void l2cap_amp_logical_destroyed(struct hci_conn *ampcon);
+void l2cap_conn_del(struct hci_conn *hcon, int err, u8 is_process);
+
#endif /* __L2CAP_H */