Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCHv1 02/16] android/hal-sock: Use static local adapter address Date: Thu, 14 Nov 2013 17:11:41 +0200 Message-Id: <1384441915-23966-3-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1384441915-23966-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1384441915-23966-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Andrei Emeltchenko --- android/socket.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/socket.c b/android/socket.c index c283c5f..e580036 100644 --- a/android/socket.c +++ b/android/socket.c @@ -35,6 +35,7 @@ #include "ipc.h" #include "socket.h" +static bdaddr_t adapter_addr; static int handle_listen(void *buf) { @@ -81,6 +82,8 @@ bool bt_socket_register(int sk, const bdaddr_t *addr) { DBG(""); + bacpy(&adapter_addr, addr); + return true; } -- 1.7.10.4