Bluetooth: Add suspend reason for device disconnect
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Fri, 11 Sep 2020 21:07:12 +0000 (14:07 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Sep 2020 07:54:28 +0000 (09:54 +0200)
commitf0cfc486f796dc3b67a4017357a6a8e76a8141c5
treebc4c17b80633e5debc0691583c09d9cf0be620fb
parent346ce5b7d624e8cc2ec5a6abd0ea00f0e06ea8ac
Bluetooth: Add suspend reason for device disconnect

Update device disconnect event with reason 0x5 to indicate that device
disconnected because the controller is suspending.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c