Hello!
On 15.07.2020 18:56, Wxcafé wrote:
From 352445fcbac243b8f10e1840726d67b41a45853d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel Rodr=C3=ADguez P=C3=A9rez?
Something went wrong
Date: Tue, 14 Jul 2020 18:10:34 -0400
Subject: [PATCH 3/4] cdc_ncm: replace the way cdc_ncm hooks into
>From 352445fcbac243b8f10e1840726d67b41a45853d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel Rodr=C3=ADguez P=C3=A9rez?
Date: Tue, 14 Jul 2020 18:10:34 -0400
Subject: [PATCH 3/4] cdc_ncm: replace the way cdc_ncm hooks into
usbnet_change_mtu
Previously cdc_ncm overwrited netdev_ops used
Previously cdc_ncm overwrited netdev_ops used by usbnet
thus preventing hooking into set_rx_mode. This patch
preserves usbnet hooks into netdev_ops, and add an
additional one for change_mtu needed by cdc_ncm.
Signed-off-by: Miguel Rodríguez Pérez
---
drivers/net/usb/cdc_ncm.c | 13 +++--