Parent: fec848dba730b827e29c82c28cc34222ca89ed07
Author: Ido Yariv <ido@wizery.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-06-07 04:25:06
Tree: af3f43cf42472b791bb52027b40234042fa2dfdd
gattrib: Fix a premature response timer removal A timer is set when a response is expected. The timer is removed when data is received, regardless of whether or not the data is a response. As a result, the timer may be cleared even though a response was not received and there would be no way to detect a command timeout. Fix this by clearing the timer only after verifying a response was received.
Diffstat
| M | attrib/gattrib.c | | | 10 | +++++- - - - - |
1 files changed, 5 insertions(+), 5 deletions(-)