Skip to content
Snippets Groups Projects
Commit 31bae4c5 authored by Bo Shen's avatar Bo Shen Committed by Marek Vasut
Browse files

usb: dfu: correct dfu buffer inited value


After dfu buffer is initialized, the buffer should be all available,
while not 0. Initialize its value to min(dfu_buf_size, dfu->r_left).

Signed-off-by: default avatarBo Shen <voice.shen@atmel.com>
Tested-by: default avatarLukasz Majewski <l.majewski@samsung.com>
Acked-by: default avatarLukasz Majewski <l.majewski@samsung.com>
parent c2617bc7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment