summary refs log tree commit diff stats
path: root/hw/bt-hci-csr.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/bt-hci-csr.c')
-rw-r--r--hw/bt-hci-csr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bt-hci-csr.c b/hw/bt-hci-csr.c
index 892801e00a..7300ea6799 100644
--- a/hw/bt-hci-csr.c
+++ b/hw/bt-hci-csr.c
@@ -44,7 +44,7 @@ struct csrhci_s {
     QEMUTimer *out_tm;
     int64_t baud_delay;
 
-    a_bdaddr bd_addr;
+    bdaddr_t bd_addr;
     struct HCIInfo *hci;
 };
 
@@ -398,7 +398,7 @@ static void csrhci_reset(struct csrhci_s *s)
     /* After a while... (but sooner than 10ms) */
     s->modem_state |= CHR_TIOCM_CTS;
 
-    memset(&s->bd_addr, 0, sizeof(a_bdaddr));
+    memset(&s->bd_addr, 0, sizeof(bdaddr_t));
 }
 
 static void csrhci_out_tick(void *opaque)