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)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 17 Mar 2021 14:21:29 +0000 (15:21 +0100)
commit87df8bcccd2cede62dfb97dc3d4ca1fe66cb4f83
tree499709abd2075188a2c0f01b9340d9f7c64c8fb0
parent17486960d79b900c45e0bb8fbcac0262848582ba
Bluetooth: Fix incorrect status handling in LE PHY UPDATE event

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>
net/bluetooth/hci_event.c