Bluetooth: Fix incorrect status handling in LE PHY UPDATE event
authorAyush Garg <ayush.garg@samsung.com>
Wed, 17 Mar 2021 11:22:14 +0000 (16:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 08:29:28 +0000 (10:29 +0200)
commit05e6258b67efb2420076468d9d74f09b94ce838e
tree3674f071fa5b367b43cd168bb4c5b1888314e688
parent1ba17c2a30c1e2166d2afa039ee53ca6ea13c971
Bluetooth: Fix incorrect status handling in LE PHY UPDATE event

[ Upstream commit 87df8bcccd2cede62dfb97dc3d4ca1fe66cb4f83 ]

Skip updation of tx and rx PHYs values, when PHY Update
event's status is not successful.

Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/hci_event.c