summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-07-28 14:10:31 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-28 13:35:44 -0700
commitea060b352654a8de1e070140d25fe1b7e4d50310 (patch)
tree68e515a78cf5772c43dd826c5b74fdc7b957d1ef /scripts/gdb/linux/device.py
parent63634aa679ba8b5e306ad0727120309ae6ba8a8e (diff)
net: lan78xx: replace bogus endpoint lookup
Drop the bogus endpoint-lookup helper which could end up accepting interfaces based on endpoints belonging to unrelated altsettings. Note that the returned bulk pipes and interrupt endpoint descriptor were never actually used. Instead the bulk-endpoint numbers are hardcoded to 1 and 2 (matching the specification), while the interrupt- endpoint descriptor was assumed to be the third descriptor created by USB core. Try to bring some order to this by dropping the bogus lookup helper and adding the missing endpoint sanity checks while keeping the interrupt- descriptor assumption for now. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions