Commit: 6f7dcbe7a7dd1c44c5a145e47ce0b685a9c8abeb
Parent: 8f5408a8e045bc3430812416f1406b941d163b13
Author: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-03-12 12:08:00
Tree: 5fb9bdfed74745150e398b91380148308f62d91f

profiles/network: Move bnep connection setup logic to bnep BNEP connection set up logic which was added before bnep_server_add, can be private method of bnep. Moved logic was almost doubled in two cases: NAP role in PAN, server listening. Now set up and connect scenario check of bnep connection is only handled in bnep part for listen connections.

Diffstat

M android/pan.c | 27 +++++- - - - - - - - - - - - - - - - - - - - - -
M profiles/network/bnep.c | 128 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M profiles/network/bnep.h | 6 ++- - - -
M profiles/network/server.c | 53 ++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - -

4 files changed, 118 insertions(+), 96 deletions(-)

View Full Diff | Patch