Bluetooth: Fix opcode access in hci_complete
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Mon, 12 Mar 2012 13:59:33 +0000 (15:59 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 03:41:32 +0000 (00:41 -0300)
commit1036b89042df96e71c0cb941be212f8053ecccc0
tree9e438432d2e5e9f0b452c2a2a9df2adfc1c6b7e3
parent035100c8a808e5484ca0848cebed91783e1868cf
Bluetooth: Fix opcode access in hci_complete

opcode to be accessed is in le16 format so convert it
first to cpu byte order.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c