diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-18 19:38:09 -0400 |
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-19 09:28:06 -0400 |
| commit | 79830f66e3cbd224bcf697b032dce9828b5a3c9e (patch) | |
| tree | 420c67d76a63acee3b8996d36683325e5fc6cb32 /include/net | |
| parent | 8f8625cd8067827e2450e4ddec20f5521896114a (diff) | |
Bluetooth: Select the own address type during initial setup phase
The own address type is based on the fact if the controller has
a public address or not. This means that this detail can be just
configured once during setup phase.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 9b5db01bd1a2..0daac39c1b6e 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
| @@ -142,6 +142,7 @@ struct hci_dev { | |||
| 142 | __u8 dev_type; | 142 | __u8 dev_type; |
| 143 | bdaddr_t bdaddr; | 143 | bdaddr_t bdaddr; |
| 144 | bdaddr_t static_addr; | 144 | bdaddr_t static_addr; |
| 145 | __u8 own_addr_type; | ||
| 145 | __u8 dev_name[HCI_MAX_NAME_LENGTH]; | 146 | __u8 dev_name[HCI_MAX_NAME_LENGTH]; |
| 146 | __u8 short_name[HCI_MAX_SHORT_NAME_LENGTH]; | 147 | __u8 short_name[HCI_MAX_SHORT_NAME_LENGTH]; |
| 147 | __u8 eir[HCI_MAX_EIR_LENGTH]; | 148 | __u8 eir[HCI_MAX_EIR_LENGTH]; |
