]> git.ipfire.org Git - thirdparty/linux.git/commit
Bluetooth: hci_sync: Reset device counters in hci_dev_close_sync()
authorHeitor Alves de Siqueira <halves@igalia.com>
Tue, 26 May 2026 13:50:59 +0000 (10:50 -0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 28 May 2026 12:52:21 +0000 (08:52 -0400)
commitcdf88b35e06f1b385f7f6228060ae541d44fbb72
treea50b271f0435e9194ba1d2fd4e1d416e5225d55d
parent525daaea459fc215f432de1b8debbd9144bf97b0
Bluetooth: hci_sync: Reset device counters in hci_dev_close_sync()

Before resetting or closing the device, protocol counters should also be
zeroed.

Fixes: d0b137062b2d ("Bluetooth: hci_sync: Rework init stages")
Signed-off-by: Heitor Alves de Siqueira <halves@igalia.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c