diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2014-08-06 18:36:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-06 19:00:20 -0400 |
commit | 269f8cb2608c7bdebadeb9a2061ba42dcd6d4ff7 (patch) | |
tree | b6ac8d7914e934840059b0d1fdf64a030e278619 /drivers/net/usb | |
parent | 753a2ad54ef45e3417a9d49537c2b42b04a2e1be (diff) |
net: fix USB network driver config option.
It must be tristate to avoid broken dependencies with kernel built-in
usb network drivers when usb support is module only.
When net config option is set, least surprize default should match usb.
Wireless RNDIS USB driver used to select USB_USBNET. USB_USBNET now
depends on USB_NET_DRIVERS so the latter should be selected as well.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r-- | drivers/net/usb/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig index 9f194a0bef7c..37eed4d84e9c 100644 --- a/drivers/net/usb/Kconfig +++ b/drivers/net/usb/Kconfig | |||
@@ -5,8 +5,8 @@ comment "Host-side USB support is needed for USB Network Adapter support" | |||
5 | depends on !USB && NET | 5 | depends on !USB && NET |
6 | 6 | ||
7 | menuconfig USB_NET_DRIVERS | 7 | menuconfig USB_NET_DRIVERS |
8 | bool "USB Network Adapters" | 8 | tristate "USB Network Adapters" |
9 | default y | 9 | default USB if USB |
10 | depends on USB && NET | 10 | depends on USB && NET |
11 | 11 | ||
12 | if USB_NET_DRIVERS | 12 | if USB_NET_DRIVERS |