This is another attempt in sending headers in correct order. New function is ready for using it for sending headers in parts. However I'm postponing work on suspending after sending available non-body headers, as it is causing some problems (e.g. when the handle_async_io would be called before OpenOBEX reaches header with suspend flag set) and so it needs finding a better solution. Patch 2 breaks a bit PBAP functionality - in case of requesting phone book size, the body header will be sent as well. This is due to patch splitting. Exact proper behaviour is back after applying patch 4. -- 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