Hi, Here's a set of patches to make fixed L2CAP channel handling more generic. The main special-casing that's removed here is for ATT channels. The A2MP stuff is left for later since its semantics would change from creating the context only when there's data on the channel to as soon as we have a baseband link (which I'm not sure is desirable). The main motivation for all of this work is to pave the way to convert SMP to fully use the l2cap_chan infrastructure. Johan ---------------------------------------------------------------- Johan Hedberg (9): Bluetooth: Fix reference counting of global L2CAP channels Bluetooth: Fix __l2cap_no_conn_pending() usage with all channels Bluetooth: Resume BT_CONNECTED state after LE security elevation Bluetooth: Remove special handling of ATT in l2cap_security_cfm() Bluetooth: Refactor l2cap_connect_cfm Bluetooth: Move L2CAP fixed channel creation into l2cap_conn_cfm Bluetooth: Improve fixed channel lookup based on link type Bluetooth: Remove special ATT data channel handling Bluetooth: Move parts of fixed channel initialization to l2cap_add_scid include/net/bluetooth/l2cap.h | 1 + net/bluetooth/l2cap_core.c | 244 ++++++++++++++++++-------------------- net/bluetooth/l2cap_sock.c | 15 +-- -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html