diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-04-17 15:00:51 +0300 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-04-18 00:26:20 -0300 |
commit | cad718ed2f6fd204b2c5cac6b611fc3fcde7b183 (patch) | |
tree | 3772acb4f9dc18f9a4c5dc4687aeba039eb2a1a0 /drivers/scsi/NCR_D700.h | |
parent | fa5513be2b709c8ce6ff0b11d0715760a9a70ffd (diff) | |
download | op-kernel-dev-cad718ed2f6fd204b2c5cac6b611fc3fcde7b183.zip op-kernel-dev-cad718ed2f6fd204b2c5cac6b611fc3fcde7b183.tar.gz |
Bluetooth: Track feature pages in a single table
The local and remote features are organized by page number. Page 0
are the LMP features, page 1 the host features, and any pages beyond 1
features that future core specification versions may define. So far
we've only had the first two pages and two separate variables has been
convenient enough, however with the introduction of Core Specification
Addendum 4 there are features defined on page 2.
Instead of requiring the addition of a new variable each time a new page
number is defined, this patch refactors the code to use a single table
for the features. The patch needs to update both the hci_dev and
hci_conn structures since there are macros that depend on the features
being represented in the same way in both of them.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'drivers/scsi/NCR_D700.h')
0 files changed, 0 insertions, 0 deletions