Return-Path: Date: Mon, 2 Jul 2012 14:25:50 +0300 From: Johan Hedberg To: Paulo Alcantara Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH BlueZ 01/12] storage: Store address type in "names" file Message-ID: <20120702112550.GB30370@x220.P-661HNU-F1> References: <1339715044-13737-1-git-send-email-paulo.alcantara@openbossa.org> <1339715044-13737-2-git-send-email-paulo.alcantara@openbossa.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1339715044-13737-2-git-send-email-paulo.alcantara@openbossa.org> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Paulo, On Thu, Jun 14, 2012, Paulo Alcantara wrote: > + uint8_t bdaddr_type; > > idev = g_new0(struct input_device, 1); > adapter_get_address(adapter, &idev->src); > - device_get_address(device, &idev->dst, NULL); > + device_get_address(device, &idev->dst, &bdaddr_type); I think it'd be clearer to call this dst_type (since it matches dst_addr and not src_addr). Could you also change this in all other places the variable naming occurs in your patches. Johan