These make the previous patch set I've sent obsolete. Fist two patches are a clean-up of some code doing nothing. Third patch is for proper (that is, the one required for PBAP and MAP) headers order. Here solution for sending application parameters header first is done inside obex_write_stream() (as suggested by Luiz), making it work automatically (no changes to pbap coded needed). The last patch offers a fix for a cases when read woken by obex_object_set_io_flags() would not deliver enough data to fill OBEX MTU, in which case asynchronous functionality was broken. -- 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