summaryrefslogtreecommitdiff
path: root/emulator
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-11-04 19:32:46 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-11-04 19:32:46 +0100
commit918e4d24a53fdb1db1a3c43cf7c07b8aac60f385 (patch)
tree249433efd52d33cc6e7b2f98ef4d8c8f1bb0ae91 /emulator
parent50b0d43e5624eb740cd4c4200a15d00b08ddaf8d (diff)
downloadbluez-918e4d24a53fdb1db1a3c43cf7c07b8aac60f385.tar.gz
monitor: Support basic set of AMP controller commands and events
Diffstat (limited to 'emulator')
-rw-r--r--emulator/btdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/btdev.c b/emulator/btdev.c
index e0c4642f7..718920b05 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -1057,7 +1057,7 @@ static void process_cmd(struct btdev *btdev, const void *data, uint16_t len)
rlai.max_pdu = cpu_to_le32(672);
rlai.amp_type = 0x01; /* 802.11 AMP Controller */
rlai.pal_cap = cpu_to_le16(0x0000);
- rlai.max_assoc_size = cpu_to_le16(512);
+ rlai.max_assoc_len = cpu_to_le16(672);
rlai.max_flush_to = cpu_to_le32(0xffffffff);
rlai.be_flush_to = cpu_to_le32(0xffffffff);
cmd_complete(btdev, opcode, &rlai, sizeof(rlai));