Re: [PATCH] cdc-ether: divorce initialisation with a filter reset and a generic method

2017-05-18 Thread Oliver Neukum
Am Donnerstag, den 18.05.2017, 12:09 +0200 schrieb Bjørn Mork: > Oliver Neukum writes: > > > > > @@ -417,7 +434,7 @@ int usbnet_cdc_bind(struct usbnet *dev, struct > > usb_interface *intf) > > BUILD_BUG_ON((sizeof(((struct usbnet *)0)->data) > > < sizeof(struct cdc_state

Re: [PATCH] cdc-ether: divorce initialisation with a filter reset and a generic method

2017-05-18 Thread Bjørn Mork
Oliver Neukum writes: > @@ -417,7 +434,7 @@ int usbnet_cdc_bind(struct usbnet *dev, struct > usb_interface *intf) > BUILD_BUG_ON((sizeof(((struct usbnet *)0)->data) > < sizeof(struct cdc_state))); > > - status = usbnet_generic_cdc_bind(dev, intf); > + status

[PATCH] cdc-ether: divorce initialisation with a filter reset and a generic method

2017-05-18 Thread Oliver Neukum
Some devices need their multicast filter reset but others are crashed by that. So the methods need to be separated. Signed-off-by: Oliver Neukum Reported-by: "Ridgway, Keith" --- drivers/net/usb/cdc_ether.c | 34 +- 1 file changed, 25 insertions(+), 9 deletions(-