Commit: b8c3c64af376c41d708ac59e4781e8525f88bc7d
Parent: 1bf376e9502f490408719202b164e83550aa76c3
Author: Iain Hibbert <plunky@rya-online.net>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-18 00:53:03
Tree: 6ad992dea8f0bb0f420cb87b2d38de53fc597367

hcidump: use correct size to copy 'direction' value frm.in is stored as an uint8_t, so we cannot copy an int there directly. use an intermediate variable so that it also works on big-endian systems.

Diffstat

M tools/hcidump.c | 4 +++-

1 files changed, 3 insertions(+), 1 deletions(-)

View Full Diff | Patch