monitor/att: Fix not dequeing att_read on error response
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Nov 2022 23:48:30 +0000 (15:48 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:11:33 +0000 (15:41 +0530)
commit4b447898ed5f46212177714cbb263c06e873fc53
treee69088fc50aa3d4e1a6dca092ca680ba1d99ff68
parentaefbb427adb9fa23a24ea37e59b9fefa6563750c
monitor/att: Fix not dequeing att_read on error response

If a read/read by type fails it needs to be dequeued otherwise it can
cause the next operation of the same type to return the wrong request
and possible decoding as if it was a different attribute type.
monitor/att.c