aboutsummaryrefslogtreecommitdiffstats
path: root/hw/bt-hci.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-05-10 17:07:36 -0700
committerDavid 'Digit' Turner <digit@android.com>2010-05-10 18:35:07 -0700
commit20894ae3fa98f82da925fbeb72e616eef509758a (patch)
treec55db026ddc60683434f48d6c58cf51677609074 /hw/bt-hci.c
parent1368f99ba2c6f29a97ba057d30d4a0235c83a441 (diff)
downloadexternal_qemu-20894ae3fa98f82da925fbeb72e616eef509758a.zip
external_qemu-20894ae3fa98f82da925fbeb72e616eef509758a.tar.gz
external_qemu-20894ae3fa98f82da925fbeb72e616eef509758a.tar.bz2
Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNED
Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff
Diffstat (limited to 'hw/bt-hci.c')
-rw-r--r--hw/bt-hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bt-hci.c b/hw/bt-hci.c
index a5902b0..7837d9e 100644
--- a/hw/bt-hci.c
+++ b/hw/bt-hci.c
@@ -421,7 +421,7 @@ static void bt_submit_raw_acl(struct bt_piconet_s *net, int length, uint8_t *dat
* be continuously allocated. We do it though, to preserve similar
* behaviour between hosts. Some things, like the BD_ADDR cannot be
* preserved though (for example if a real hci is used). */
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
# define HNDL(raw) bswap16(raw)
#else
# define HNDL(raw) (raw)