adapter: Return Busy error when setting is pending
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 4 Mar 2021 22:20:31 +0000 (14:20 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commit32f71969913113bd25cc738f8edf2c1699964aa8
tree4f6e271898c7fff6a1b4c74676da41042e86b3ff
parentaee842f466963a439795b2351ea2fa39da393623
adapter: Return Busy error when setting is pending

This returns an error if application attempts to change a property that
is pending.

Fixes: https://github.com/bluez/bluez/issues/99
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adapter.c