]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: libertas_tf: refactor endpoint lookup
authorJohan Hovold <johan@kernel.org>
Tue, 7 Apr 2026 15:11:11 +0000 (17:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 8 Apr 2026 06:33:40 +0000 (08:33 +0200)
commite801194b604cd9fdb24c2958892fd79e1aa3b651
tree33ee94c97d0076c2b9b929e370957fedf9ef1174
parentc885e392aadb43227d3c677eab2941a2c31355ff
wifi: libertas_tf: refactor endpoint lookup

Use the common USB helpers for looking up bulk and interrupt endpoints
(and determining max packet size) instead of open coding.

Note that the driver has an implicit max packet size check which is
kept.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260407151111.3187826-4-johan@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/marvell/libertas_tf/if_usb.c