mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
894efaf523
USB_WUSB should depends on CONFIG_USB, otherwise building fails
drivers/staging/wusbcore/wusbhc.o: In function `wusbhc_giveback_urb':
wusbhc.c:(.text+0xa28): undefined reference to `usb_hcd_giveback_urb'
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 71ed79b0e4
("USB: Move wusbcore and UWB to staging as it is obsolete")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190809102150.66896-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Wireless USB Core configuration
|
|
#
|
|
config USB_WUSB
|
|
tristate "Enable Wireless USB extensions"
|
|
depends on UWB && USB
|
|
select CRYPTO
|
|
select CRYPTO_AES
|
|
select CRYPTO_CCM
|
|
help
|
|
Enable the host-side support for Wireless USB.
|
|
|
|
To compile this support select Y (built in). It is safe to
|
|
select even if you don't have the hardware.
|
|
|
|
config USB_WUSB_CBAF
|
|
tristate "Support WUSB Cable Based Association (CBA)"
|
|
depends on USB
|
|
help
|
|
Some WUSB devices support Cable Based Association. It's used to
|
|
enable the secure communication between the host and the
|
|
device.
|
|
|
|
Enable this option if your WUSB device must to be connected
|
|
via wired USB before establishing a wireless link.
|
|
|
|
It is safe to select even if you don't have a compatible
|
|
hardware.
|
|
|
|
config USB_WUSB_CBAF_DEBUG
|
|
bool "Enable CBA debug messages"
|
|
depends on USB_WUSB_CBAF
|
|
help
|
|
Say Y here if you want the CBA to produce a bunch of debug messages
|
|
to the system log. Select this if you are having a problem with
|
|
CBA support and want to see more of what is going on.
|
|
|
|
source "drivers/staging/wusbcore/host/Kconfig"
|