Bluetooth: btintel: Add manufacturing enter/exit helpers
authorLoic Poulain <loic.poulain@intel.com>
Thu, 3 Dec 2015 15:10:22 +0000 (16:10 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Dec 2015 23:51:50 +0000 (00:51 +0100)
commit28dc4b92e20e0fd18be2d8356abf959d58c7346a
tree38967870eb36b45e689755e08ebedc93d8beec0a
parent1623d0bf847d3b38d8cf24367b3689ba0e3fe2aa
Bluetooth: btintel: Add manufacturing enter/exit helpers

Older Intel controllers need to enter manufacturing mode to perform
some vendor specific operations (patching, configuration...).
Add enter/exit manufaturing methods and refactor existing
manufacturing code.
Exit can be configured to perform a reset. Reset can be performed
either with patches activated or deactivated.

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btintel.c
drivers/bluetooth/btintel.h
drivers/bluetooth/btusb.c