diff options
author | Fan Du <[email protected]> | 2014-09-16 17:21:04 +0800 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2014-09-20 14:56:19 +0200 |
commit | 979bbf7b7ae75cfc06e09d09eda38009a3bdc4a4 (patch) | |
tree | 21a516ee7c162ac5d7b7718aec594a729e875087 /net/lapb/lapb_subr.c | |
parent | 938916fbb8e8cb67eacb784f4eda17e2950c16c5 (diff) |
i2c: ismt: use correct length when copy buffer
In block write mode, when encapsulating dma_buffer, first element is
'command', the rest is data buffer, so only copy actual data buffer
starting from block[1] with the size indicating by block[0].
Signed-off-by: Fan Du <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Cc: [email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions