Bluetooth: btusb: Use proper data structures for Intel vendor events
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 9 Apr 2015 07:35:19 +0000 (00:35 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 9 Apr 2015 07:42:18 +0000 (10:42 +0300)
commitccd6da2ab81815e03c0713069597a8fc8f6f8431
tree416bc259c99403c30add4fe0c1083e92c1134a37
parent94910d419a506a8e21333cc87ffb80db8b89d88a
Bluetooth: btusb: Use proper data structures for Intel vendor events

The Intel vendors events indicating firmware loading result and the
bootup of the operational firmware are currently hardcoded byte
comparisons. So intead of doing that, provide proper data structures
and actually use them.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/btintel.h
drivers/bluetooth/btusb.c