diff --git a/emulator/btdev.c b/emulator/btdev.c
index 84cbfb7..f98b523 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
rlaa_rsp.status = BT_HCI_ERR_SUCCESS;
rlaa_rsp.phy_handle = rlaa_cmd->phy_handle;
rlaa_rsp.remain_assoc_len = cpu_to_le16(1);
- rlaa_rsp.assoc_fragement[0] = 0x42;
- memset(rlaa_rsp.assoc_fragement + 1, 0,
- sizeof(rlaa_rsp.assoc_fragement) - 1);
+ rlaa_rsp.assoc_fragment[0] = 0x42;
+ memset(rlaa_rsp.assoc_fragment + 1, 0,
+ sizeof(rlaa_rsp.assoc_fragment) - 1);
cmd_complete(btdev, opcode, &rlaa_rsp, sizeof(rlaa_rsp));
break;
diff --git a/monitor/bt.h b/monitor/bt.h
index 5904949..24980e1 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
uint8_t status;
uint8_t phy_handle;
uint16_t remain_assoc_len;
- uint8_t assoc_fragement[248];
+ uint8_t assoc_fragment[248];
} __attribute__ ((packed));
#define BT_HCI_CMD_WRITE_REMOTE_AMP_ASSOC 0x140b
uint8_t phy_handle;
uint16_t len_so_far;
uint16_t remain_assoc_len;
- uint8_t assoc_fragement[248];
+ uint8_t assoc_fragment[248];
} __attribute__ ((packed));
struct bt_hci_rsp_write_remote_amp_assoc {
uint8_t status;