Skip to content

Commit

Permalink
Bluetooth: Fix VIRTIO_ID_BT assigned number
Browse files Browse the repository at this point in the history
It turned out that the VIRTIO_ID_* are not assigned in the virtio_ids.h
file in the upstream kernel. Picking the next free one was wrong and
there is a process that has been followed now.

See oasis-tcs/virtio-spec#108 for details.

Fixes: afd2daa ("Bluetooth: Add support for virtio transport driver")
Signed-off-by: Marcel Holtmann <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
  • Loading branch information
holtmann authored and Vudentz committed Jun 3, 2021
1 parent e305509 commit a83d958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/uapi/linux/virtio_ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#define VIRTIO_ID_SOUND 25 /* virtio sound */
#define VIRTIO_ID_FS 26 /* virtio filesystem */
#define VIRTIO_ID_PMEM 27 /* virtio pmem */
#define VIRTIO_ID_BT 28 /* virtio bluetooth */
#define VIRTIO_ID_MAC80211_HWSIM 29 /* virtio mac80211-hwsim */
#define VIRTIO_ID_BT 40 /* virtio bluetooth */

#endif /* _LINUX_VIRTIO_IDS_H */

0 comments on commit a83d958

Please sign in to comment.