diff options
| author | Hsin-chen Chuang <[email protected]> | 2025-01-08 12:24:43 +0000 |
|---|---|---|
| committer | Luiz Augusto von Dentz <[email protected]> | 2025-01-15 15:36:42 +0000 |
| commit | f07d478090b0a03dda46fb45b5c6e089a8408351 (patch) | |
| tree | 68159dc0335b940c2473b38b1492270e0e5dd504 /net/unix/sysctl_net_unix.c | |
| parent | Bluetooth: Remove the cmd timeout count in btusb (diff) | |
| download | kernel-f07d478090b0a03dda46fb45b5c6e089a8408351.tar.gz kernel-f07d478090b0a03dda46fb45b5c6e089a8408351.zip | |
Bluetooth: Get rid of cmd_timeout and use the reset callback
The hdev->reset is never used now and the hdev->cmd_timeout actually
does reset. This patch changes the call path from
hdev->cmd_timeout -> vendor_cmd_timeout -> btusb_reset -> hdev->reset
, to
hdev->reset -> vendor_reset -> btusb_reset
Which makes it clear when we export the hdev->reset to a wider usage
e.g. allowing reset from sysfs.
This patch doesn't introduce any behavior change.
Signed-off-by: Hsin-chen Chuang <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
