Return-Path: Subject: Re: [PATCH 1/2] Bluetooth: Rename mgmt_inquiry_failed() From: Marcel Holtmann To: Andre Guedes Cc: linux-bluetooth@vger.kernel.org Date: Wed, 09 Nov 2011 16:38:17 +0900 In-Reply-To: <1320792002-31151-1-git-send-email-andre.guedes@openbossa.org> References: <1320792002-31151-1-git-send-email-andre.guedes@openbossa.org> Content-Type: text/plain; charset="UTF-8" Message-ID: <1320824300.15441.319.camel@aeonflux> Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Andre, > This patch renames the function mgmt_inquiry_failed() to > mgmt_start_discovery_failed(). This function is more related > to MGMT_OP_START_DISCOVERY command handling than to inquiry. > Besides, this functions will be reused by LE based discovery > procedures in case of failure. > > Signed-off-by: Andre Guedes > --- > include/net/bluetooth/hci_core.h | 2 +- > net/bluetooth/hci_event.c | 2 +- > net/bluetooth/mgmt.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) the name change makes sense to be. I hope it also leads to avoiding code duplication here in the long run. Acked-by: Marcel Holtmann Regards Marcel