mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
target: Fix page length in emulated INQUIRY VPD page 86h
The LSB of the page length is at offset 3, not 2. Signed-off-by: Roland Dreier <[email protected]> Cc: [email protected] Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
9b5cd7f37e
commit
1289a0571c
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ target_emulate_evpd_86(struct se_cmd *cmd, unsigned char *buf)
|
|||
if (cmd->data_length < 60)
|
||||
return 0;
|
||||
|
||||
buf[2] = 0x3c;
|
||||
buf[3] = 0x3c;
|
||||
/* Set HEADSUP, ORDSUP, SIMPSUP */
|
||||
buf[5] = 0x07;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue