HomeFreeBSD

usb-msctest: Be more conservative setting GETMAXLUN quirk

Description

usb-msctest: Be more conservative setting GETMAXLUN quirk

Only set the GETMAXLUN quirk when it causes an error, but don't set it
when it returns 0. Since we reset the device when we set any quirk, only
set this quirk when it generates an error so umass will avoid it. When
the command works, there's no reason for umass to avoid it at all.

MFC After: 1 week
Sponsored by: Netflix

(cherry picked from commit b0375f78e32acd7947d28126a5e165f8139a5a23)

Details

Provenance
impAuthored on Mar 16 2025, 7:20 PM
Parents
rG4a328b804996: tcp: fix reverting of spurious timeouts (RTO)
Branches
Unknown
Tags
Unknown