]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix initializing response id after clearing struct
authorChristopher William Snowhill <chris@kode54.net>
Sun, 27 Dec 2020 03:12:32 +0000 (19:12 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 27 Dec 2020 20:35:59 +0000 (21:35 +0100)
commit53f206fb9bda1d307c79e51b22678e3356dfb337
tree48540d7d93c32db549d6a9da8cf88252bd239785
parent0e23d4a5e4e45f2080b304bc45fcde0485984e0a
Bluetooth: Fix initializing response id after clearing struct

Looks like this was missed when patching the source to clear the structures
throughout, causing this one instance to clear the struct after the response
id is assigned.

Fixes: defb5c19f698 ("Bluetooth: A2MP: Fix not initializing all members")
Signed-off-by: Christopher William Snowhill <chris@kode54.net>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/a2mp.c