Commit: f56b47dcb74ae0d21e0c2b4372d76fbd2cd561b1
Parent: c58b40a24352d277216570756946f37313686798
Author: Andre Guedes <andre.guedes@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-02-09 12:52:12
Tree: e0937628e6b416c7c4f9e036655c0537761858e0

device: Use att_io in device_browse_primary In order to have the same approach as att_connect function, device_browse_primary function should save the reference to GIOChannel at device->att_io. This way, we can properly shut it down if the browse request is canceled during the connection attempt.

Diffstat

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

1 files changed, 11 insertions(+), 7 deletions(-)

View Full Diff | Patch