Commit 4fd22ab
committed
Bluetooth: btusb: Enable Mediatek modules to work on USB 3.0 busses
MT7921U and possibly other related chips expose a different configuration
on USB 3.0 vs. USB 2.0. Current driver logic only works with the USB 2.0
configuration, while connecting the module to a USB 3.0-only bus results
in enumeration and scanning succeeding but connections silently failing.
Add a special case for Mediatek modules on SuperSpeed busses to select
the right bulk OUT endpoint (second not first) to make them work.
Signed-off-by: Alexey Charkov <alchark@flipper.net>1 parent 09246e1 commit 4fd22ab
1 file changed
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4090 | 4090 | | |
4091 | 4091 | | |
4092 | 4092 | | |
| 4093 | + | |
| 4094 | + | |
| 4095 | + | |
| 4096 | + | |
| 4097 | + | |
| 4098 | + | |
| 4099 | + | |
| 4100 | + | |
| 4101 | + | |
| 4102 | + | |
| 4103 | + | |
| 4104 | + | |
| 4105 | + | |
| 4106 | + | |
| 4107 | + | |
| 4108 | + | |
| 4109 | + | |
| 4110 | + | |
| 4111 | + | |
| 4112 | + | |
| 4113 | + | |
| 4114 | + | |
| 4115 | + | |
| 4116 | + | |
| 4117 | + | |
| 4118 | + | |
| 4119 | + | |
| 4120 | + | |
| 4121 | + | |
| 4122 | + | |
| 4123 | + | |
| 4124 | + | |
| 4125 | + | |
| 4126 | + | |
| 4127 | + | |
| 4128 | + | |
| 4129 | + | |
| 4130 | + | |
| 4131 | + | |
| 4132 | + | |
| 4133 | + | |
| 4134 | + | |
| 4135 | + | |
4093 | 4136 | | |
4094 | 4137 | | |
4095 | 4138 | | |
| |||
0 commit comments