net: cdc_ncm: Fix build error
If USB_NET_CDC_NCM is y and USB_NET_CDCETHER is m, build fails:
drivers/net/usb/cdc_ncm.o:(.rodata+0x1d8): undefined reference to `usbnet_cdc_update_filter'
Select USB_NET_CDCETHER for USB_NET_CDC_NCM to fix this.
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: e10dcb1b6b
("net: cdc_ncm: hook into set_rx_mode to admit multicast traffic")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a156998fc9
commit
5fd99b5d99
@ -252,6 +252,7 @@ config USB_NET_CDC_EEM
|
|||||||
config USB_NET_CDC_NCM
|
config USB_NET_CDC_NCM
|
||||||
tristate "CDC NCM support"
|
tristate "CDC NCM support"
|
||||||
depends on USB_USBNET
|
depends on USB_USBNET
|
||||||
|
select USB_NET_CDCETHER
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This driver provides support for CDC NCM (Network Control Model
|
This driver provides support for CDC NCM (Network Control Model
|
||||||
|
Loading…
Reference in New Issue
Block a user