Commit: b41791221213b0c5b1d66ed52462b5960e070ea5
Parent: 722f9d24a952d92cd6549536e380d8fd6bc19edb
Author: Santiago Carot-Nemesio <sancane@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-02-02 21:55:28
Tree: a593802acabc6b5dcc865f408b0bb2cc8a5285c5

device: Fix segmentation fault removing devices There is an unbalanced control regarding to the GATT channel and its attachid, we have to to update the attach id value by setting it to zero whenever we detach a GATT channel.

Diffstat

M src/device.c | 4 +++-

1 files changed, 3 insertions(+), 1 deletions(-)

View Full Diff | Patch