summaryrefslogtreecommitdiffstats
path: root/MAKEALL
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-05-22 00:33:48 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-23 09:11:10 +0200
commit1e5a5b51a57363b441c4dd27774b186e715ab139 (patch)
treea0d3a481e231667507d057b56f5f01d5ff12d1cd /MAKEALL
parent85de58c03ccd20764dd5afa2efc8b2f1380c4259 (diff)
downloadbarebox-1e5a5b51a57363b441c4dd27774b186e715ab139.tar.gz
barebox-1e5a5b51a57363b441c4dd27774b186e715ab139.tar.xz
usb: storage: Default to a single LUN
For loop below is: for (lun=0; lun<=us->max_lun; lun++) ... so we need to set max_lun to 0 in order to default to having only one LUN. Otherwise, we end up assuming the device has 2 valid LUNs. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'MAKEALL')
0 files changed, 0 insertions, 0 deletions