]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: usb: int51x1: use usbnet_cdc_update_filter
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Mon, 26 Jan 2026 04:40:39 +0000 (20:40 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 28 Jan 2026 01:55:32 +0000 (17:55 -0800)
commit15e9abc270551374193e16ef13d31fd643567fb7
tree12093087d7df3d1fc4b0b42fb426b619c53cfb96
parentbbabce5d4d2d20e087fd0b02ca5a4e7d363edd10
net: usb: int51x1: use usbnet_cdc_update_filter

The int51x1 driver uses the same requests as USB CDC to handle packet
filtering, but provides its own definitions and function to handle it.
The chip datasheet says the requests are CDC compliant. Replace this
unnecessary code with a reference to usbnet_cdc_update_filter.

Also fix the broken datasheet link and remove an empty comment.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Link: https://patch.msgid.link/20260126044049.40359-1-enelsonmoore@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/Kconfig
drivers/net/usb/int51x1.c