OSDN Git Service

profiles/network: Move disconnection_cb setting to bnep connect
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
Thu, 12 Mar 2015 17:07:30 +0000 (18:07 +0100)
committerSzymon Janc <szymon.janc@gmail.com>
Thu, 12 Mar 2015 22:25:42 +0000 (23:25 +0100)
commitb3c62f30630a173e5155e6f425a18bfcb2c993c3
treee3c37e58f838af472296612661060b2b86611fe1
parent7824d0b60cf894bb94314aaa4802414e38338d8a
profiles/network: Move disconnection_cb setting to bnep connect

Disconnect callback can be set while connecting bnep. In previous
implementation there was separated method to setting up the disconnect
callback and it was always called immediately after calling connect -
this method was redundand.
android/pan.c
profiles/network/bnep.c
profiles/network/bnep.h
profiles/network/connection.c