This is rebase of a patchset sent earlier, for making BlueZ tolerate TX timestamps in MSG_ERRQUEUE so it does not mistake them for errors. This was one of the two ways to deal with this issue. The other one would add a kernel sockopt() that disables (some or all) errqueue wakeups. For that, it might make sense to add it not only for Bluetooth, but I did not work on this, so no such patch exists. Don't know which one of these would be the preferable one. Pauli Virtanen (3): shared/io-glib: add watcher to be used with TX timestamping avdtp: don't consider TX timestamps as errors bap: don't consider TX timestamps as errors Makefile.am | 1 + acinclude.m4 | 3 +- configure.ac | 2 +- profiles/audio/avdtp.c | 5 +- profiles/audio/bap.c | 14 ++-- src/shared/bap.c | 3 + src/shared/io-glib.c | 157 ++++++++++++++++++++++++++++++++++++++++- src/shared/io-glib.h | 20 ++++++ 8 files changed, 195 insertions(+), 10 deletions(-) create mode 100644 src/shared/io-glib.h -- 2.48.1