Parent: 74c65573ce78a347015753fbc405fc84e915ac21
Author: Szymon Janc <szymon.janc@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-01-06 21:26:21
Tree: 239fcc425b1fea317bad9bb92d07245ddbeeebd8
android/socket: Move logic from HAL to daemon in connect This reduce logic in HAL to bare minimum e.g. no modifications in library will be needed to add different socket type support. Both bdaddr2str and btuuid2str handle NULL pointers so it is safe to print debug unconditionally.
Diffstat
| M | android/hal-sock.c | | | 16 | +++++- - - - - - - - - - - |
| M | android/socket.c | | | 81 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - |
2 files changed, 62 insertions(+), 35 deletions(-)