From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 25 Jan 2011 18:08:30 +0200 From: Johan Hedberg To: Pavan Savoy Cc: Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org Subject: Re: why scan_disable during hciops_power_off Message-ID: <20110125160830.GA14610@jh-x301> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi, On Tue, Jan 25, 2011, Pavan Savoy wrote: > >> 1. are there controllers there which even after doing hci0 down, > >> allows other devices to be scanned? > >> for those what do hci0 down mean ? radio not switched off ? > > > > Good point, perhaps this is driver dependent, so we do it just be safe guard. > > I hope all devices and drivers out there consider the hci0 down as the > radio OFF, > I don't think there is a reason for it to be otherwise.... > so why the safe-guard ? IIRC Marcel added this due to paranoia with the non-connectable GAP test case with the BITE tester. The test kept failing even though the device was in DOWN state. Johan