Skip to content
Commit 5bd0f5ea authored by Tomasz Moń's avatar Tomasz Moń Committed by Carles Cufí
Browse files

usb: device_next: msc: handle MODE SENSE(10) command



USB Mass Storage Specification for Bootability requires MODE SENSE(10)
command. MODE SENSE(6) and MODE SENSE(10) generally access the same data
but differ in the maximum allocated length and LLBAA support. However
there is no point in extracting common handling because there no mode
pages are supported now.

Fail MODE SENSE requests if asking for anything other than supported
page codes (to which the essentially hardcoded response is valid).

Signed-off-by: default avatarTomasz Moń <tomasz.mon@nordicsemi.no>
parent 41814f8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment