avctp: Fix not handling when kernel has ERTM disabled
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 24 Sep 2021 20:20:38 +0000 (13:20 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commit733a463a1f3f0e1bc3e665991de96f24273ab5be
tree660d357b5973292ecb2b0ed2030e1d9875e41ebe
parent7cf9f071492138dc6915e71a6957a6f685c97dc6
avctp: Fix not handling when kernel has ERTM disabled

If kernel module is loaded with disable_ertm ERTM won't be available
thus browsing channel won't be able to be created, but it shall be
possible to still use AVRCP without it.

Fixes: https://github.com/bluez/bluez/issues/209
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/audio/avctp.c