Parent: 6c5efac68473eddce0624c48aef92af6eca9bac4
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-06-05 15:11:50
Tree: 49bec97ff763e51fc736a3f44337a473710dcfc2
gattrib: Fix command timeout handling This patch fixes command timeout handling. Previously attrib_destroy was explicitly called which ignored any reference holders. This patch fixes the issue by first passing errors to command callbacks and after that marking the GAttrib object as stale so no further operations can be done.
Diffstat
| M | attrib/att.c | | | 4 | ++++ |
| M | attrib/att.h | | | 2 | ++ |
| M | attrib/gattrib.c | | | 29 | ++++++++++++++++++++++++++++- |
3 files changed, 34 insertions(+), 1 deletions(-)