Return-path: Received: from rcsinet10.oracle.com ([148.87.113.121]:26576 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757377Ab1FVRJ6 (ORCPT ); Wed, 22 Jun 2011 13:09:58 -0400 Date: Wed, 22 Jun 2011 10:08:11 -0700 From: Randy Dunlap To: Stephen Rothwell , Marcel Holtmann , "Gustavo F. Padovan" Cc: linux-next@vger.kernel.org, LKML , linux-bluetooth@vger.kernel.org, linux-wireless@vger.kernel.org Subject: [PATCH -next] bluetooth: uses crypto interfaces, select CRYPTO Message-Id: <20110622100811.258091ff.randy.dunlap@oracle.com> (sfid-20110622_191026_619266_8061D933) In-Reply-To: <20110622163651.7ebc407c.sfr@canb.auug.org.au> References: <20110622163651.7ebc407c.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Randy Dunlap Recent changes to hci_core.c use crypto interfaces, so select CRYPTO to make sure that those interfaces are present. Fixes these build errors when CRYPTO is not enabled: net/built-in.o: In function `hci_register_dev': (.text+0x4cf86): undefined reference to `crypto_alloc_base' net/built-in.o: In function `hci_unregister_dev': (.text+0x4f912): undefined reference to `crypto_destroy_tfm' Signed-off-by: Randy Dunlap --- net/bluetooth/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20110622.orig/net/bluetooth/Kconfig +++ linux-next-20110622/net/bluetooth/Kconfig @@ -6,6 +6,7 @@ menuconfig BT tristate "Bluetooth subsystem support" depends on NET && !S390 depends on RFKILL || !RFKILL + select CRYPTO help Bluetooth is low-cost, low-power, short-range wireless technology. It was designed as a replacement for cables and other short-range