Bluetooth: Fix returning proper HCI status from __hci_req_sync
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 23 Nov 2015 12:40:47 +0000 (14:40 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 23 Nov 2015 12:50:11 +0000 (13:50 +0100)
commit568f44f63621e00af9895f09c70aa38025be8813
tree1ddec04421d48c132e12797030355155a1d0cbd4
parent40b25fe5dc57a6557b96241b75ae63dce716a487
Bluetooth: Fix returning proper HCI status from __hci_req_sync

There were a couple of code paths missed by the previous patch that
added a HCI status return parameter to __hci_req_sync. This patch adds
the missing assignments for them.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c