aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnderson Briglia <[email protected]>2011-09-19 14:41:09 -0400
committerGustavo F. Padovan <[email protected]>2011-09-21 12:59:16 -0300
commit51beabdf624df14d0805b001d3f939629b70d9db (patch)
treea1875000da70a67f9440c2c6716e1c3be455c4b6 /tools/perf/scripts/python
parentca10b5ee0cb298f094db00dba7e397a8bc4e8398 (diff)
Bluetooth: Fix wrong memcpy size on LE start encryption
This patch fixes wrong memcpy size when copying rand value to HCI_OP_LE_START_ENC command. The compiler pretends that the array parameter was declared as a pointer and sizeof reports the size of the pointer. [1] [1] http://www.c-faq.com/aryptr/aryparmsize.html Signed-off-by: Anderson Briglia <[email protected]> Signed-off-by: Anderson Lizardo <[email protected]> Signed-off-by: Gustavo F. Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions