Return-Path: MIME-Version: 1.0 In-Reply-To: <20120428101311.GA9270@x220.P-661HNU-F1> References: <20120428095617.GA7550@x220.P-661HNU-F1> <20120428101311.GA9270@x220.P-661HNU-F1> Date: Sun, 29 Apr 2012 14:36:38 -0500 Message-ID: Subject: Re: TP/SIG/SMG/BI-02-C failure From: Mike To: Mike , linux-bluetooth Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Johan, >> > For those who are more familiar with the position of >> > "remove_disconnect_timer(session);" in session_cb, does it make sense >> > to move that outside the AVDTP_MSG_TYPE_COMMAND block so that even the >> > invalid discover command (general reject) turns off the timer? >> >> The timer is only removed if there are no streams present > > Sorry, that should say "if there *are* streams present": > > ? ? ? ? ? ? ? ?if (session->streams && session->dc_timer) > ? ? ? ? ? ? ? ? ? ? ? ?remove_disconnect_timer(session); The BQE has accepted it as is, now that he's had enough time to look at it. Thanks, Mike