Skip to content
Commit 47c50853 authored by Igor Skalkin's avatar Igor Skalkin Committed by Luiz Augusto von Dentz
Browse files

virtio_bt: Fix alignment in configuration struct



The current version of the configuration structure has unaligned
16-bit fields, but according to the specification [1], access to
the configuration space must be aligned.

Add a second, aligned  version of the configuration structure
and a new feature bit indicating that this version is being used.

[1] https://docs.oasis-open.org/virtio/virtio/v1.1/virtio-v1.1.pdf

Signed-off-by: default avatarIgor Skalkin <Igor.Skalkin@opensynergy.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 3b1c7c00
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment