Here you have a new set of rearranged patches wich initialize and stop a GATT server in each adapter. Now, all GATT stuff is managed separately in the adapter instead using global lists and variables. Next step is to modify gatt server api in order to provide the adapter in which GATT servers will able to register the attributes for each service. This feature will enable plugins to register services when each adapter is plugged instead doing that when the plugins are initialized. comments are welcome. [PATCH 1/8] attrib-server: Initial steps towards multi-adapter GATT [PATCH 2/8] attrib-server: Register GATT SDP record per each adapter [PATCH 3/8] attrib-server: Add attributes in adapter database [PATCH 4/8] attrib-server: Attach attrib_channel in adapter clients [PATCH 5/8] attrib-server: Remove global le_io variable [PATCH 6/8] attrib-server: Remove global database list [PATCH 7/8] attrib-server: Mark attrib_channel_detach as deprecated [PATCH 8/8] gatt-example: Use adapter driver to register GATT -- 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