Return-Path: From: To: CC: Date: Mon, 28 Mar 2011 12:40:55 +0300 Subject: RE: [PATCH v2] Add sap_disconnect_ind interface for sap-sim drivers Message-ID: <99B09243E1A5DA4898CDD8B7001114481085E2325E@EXMB04.eu.tieto.com> References: <1300982971-2869-1-git-send-email-waldemar.rymarkiewicz@tieto.com> <1300983402-2970-1-git-send-email-waldemar.rymarkiewicz@tieto.com> <20110325091759.GA1150@jh-x301> In-Reply-To: <20110325091759.GA1150@jh-x301> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Johan, >Are you planning to have some additional Disconnect* method in >the future since you didn't reuse the existing "Disconnect" >method name for this? The patch is also missing the >corresponding update to sap-api.txt. The Disconnect method mentioned in sap-api.txt is implemented in server.c and it's the gracefull disconnect. The one I've changes in the patch is used in sap-dummy.c driver, which is used for tests only. The original idea was to have Disconnect(type) method in server.c, but finally, in a discussion, we came to the conclusion that the immediate disconnect should not be used by user. Driver should handle this if it's needed. So, sap-api.txt stays unchanged, and dummy-driver is changed to be able to pass some of PTS tests. Waldek