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

Details

Provenance
impAuthored on Sun, Mar 16, 7:20 PM
Parents
rGb39f500e6ac8: stand: lines with comments a '"' in loader.conf are ignored
Branches
Unknown
Tags
Unknown