mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
imxtools/scsitool: retrieve the minimum amount of inquiry data
Some device only report the minimum (36 bytes) amount of inquiry data so don't ask for more Change-Id: Ie74d659f6e27b077acba160aeb87d1e7edf82e66
This commit is contained in:
parent
c644f6b7f1
commit
2a52b937e4
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ int do_sense_analysis(int status, uint8_t *sense, int sense_size)
|
|||
|
||||
int stmp_inquiry(uint8_t *dev_type, char vendor[9], char product[17])
|
||||
{
|
||||
unsigned char buffer[56];
|
||||
unsigned char buffer[36];
|
||||
uint8_t cdb[10];
|
||||
memset(cdb, 0, sizeof(cdb));
|
||||
cdb[0] = 0x12;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue