Bluetooth: Remove hci_req_le_suspend_config
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Tue, 8 Dec 2020 00:12:54 +0000 (16:12 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Dec 2020 21:26:59 +0000 (22:26 +0100)
commit295fa2a5647b13681594bb1bcc76c74619035218
tree763190ae60b2ce3257e5793ef93d70699d563cf4
parentafe0b1c86458f121b085271e4f3034017a90d4a3
Bluetooth: Remove hci_req_le_suspend_config

Add a missing SUSPEND_SCAN_ENABLE in passive scan, remove the separate
function for configuring le scan during suspend and update the request
complete function to clear both enable and disable tasks.

Fixes: dce0a4be8054 ("Bluetooth: Set missing suspend task bits")
Reviewed-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c