OSDN Git Service

Bluetooth: btusb: Do not require hardcoded interface numbers
authorTomasz Moń <tomasz.mon@nordicsemi.no>
Tue, 7 Feb 2023 11:57:41 +0000 (12:57 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 24 Apr 2023 04:44:28 +0000 (21:44 -0700)
commitc13380a55522bf14e54779a142487c224509db95
treeb06d7986f93e50cacd1e66e1dbc6cca61a83589a
parenta80d2c545ded86d0350b9a870735565d8b749786
Bluetooth: btusb: Do not require hardcoded interface numbers

Remove hardcoded interface number check because Bluetooth specification
since version 4.0 only recommends and no longer requires specific
interface numbers.

While earlier Bluetooth versions, i.e. 2.1 + EDR and 3.0 + HS, contain
required configuration table in Volume 4 - Host Controller Interface
Part B - USB Transport Layer, Bluetooth Core Specification Addendum 2
changes the table from required to recommended configuration.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btusb.c