From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 4 Sep 2017 10:57:24 -0700 From: Bjorn Andersson To: Loic Poulain Cc: Marcel Holtmann , Rob Herring , Johan Hedberg , "open list:BLUETOOTH DRIVERS" , linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v2] Bluetooth: btqcomsmd: BD address setup Message-ID: <20170904175724.GB1165@minitux> References: <1504509480-14082-1-git-send-email-loic.poulain@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: List-ID: On Mon 04 Sep 03:43 PDT 2017, Loic Poulain wrote: > On 4 September 2017 at 09:39, Marcel Holtmann wrote: [..] > > so lets use bdaddr here. And frankly I would really just use bdaddr_t > > bdaddr here. You have to swap the address anyway since we use > > local-mac-address. > > > > Unless of course we start using local-bd-address as DT property. Remember > > that even a WiFi address must be different from a Bluetooth address. You > > can not use the same. So the boot loader needs to understand that this is > > the Bluetooth address and not the WiFi address. > > > > Yes the bootloader seems to set the same address as the wlan one but with > last bit flipped. This sounds suspicious, I'll follow up with the LK guys to make sure we're only setting the property if we find a properly provisioned bd address. Regards, Bjorn