aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-02 05:30:51 -0400
committerMarcel Holtmann <marcel@holtmann.org>2014-07-03 11:42:56 -0400
commit96c2103a57c5c6498138f38df926af6b86ea4e86 (patch)
treeedfc93128f1602617dad81a625aa2c8de885d02b /net/bluetooth/hci_core.c
parentcb8d65973b57edeec53cd219ddbcb646cfd73452 (diff)
Bluetooth: Default to internal use manufacturer identifier
When allocating a new controller structure, then default to the internal use value 0xffff first. Default to 0x0000 is a bad idea since that is the manufacturer identifier of Ericsson Technology Licensing. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r--net/bluetooth/hci_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 63197d70d8eb..21a4c8dfb874 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -3796,6 +3796,7 @@ struct hci_dev *hci_alloc_dev(void)
3796 hdev->link_mode = (HCI_LM_ACCEPT); 3796 hdev->link_mode = (HCI_LM_ACCEPT);
3797 hdev->num_iac = 0x01; /* One IAC support is mandatory */ 3797 hdev->num_iac = 0x01; /* One IAC support is mandatory */
3798 hdev->io_capability = 0x03; /* No Input No Output */ 3798 hdev->io_capability = 0x03; /* No Input No Output */
3799 hdev->manufacturer = 0xffff; /* Default to internal use */
3799 hdev->inq_tx_power = HCI_TX_POWER_INVALID; 3800 hdev->inq_tx_power = HCI_TX_POWER_INVALID;
3800 hdev->adv_tx_power = HCI_TX_POWER_INVALID; 3801 hdev->adv_tx_power = HCI_TX_POWER_INVALID;
3801 3802