]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: btbcm: Add default address for BCM43341B
authorFerry Toth <ftoth@exalondelft.nl>
Tue, 9 Apr 2019 14:15:50 +0000 (16:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:43:26 +0000 (06:43 -0700)
commit0bc530b89431963d121a4df479e7c4d1872cc96e
tree1e944c535e35821710dfa87da4382f7360f4c35f
parentc5da31c4fda8a3f804145be39ca32720b5046e39
Bluetooth: btbcm: Add default address for BCM43341B

[ Upstream commit 5035726128cd2e3813ee44deedb9898509edb232 ]

The BCM43341B has the default MAC address 43:34:1B:00:1F:AC if none
is given. This address was found when enabling Bluetooth on multiple
Intel Edison modules. It also contains the sequence 43341B, the name
the chip identifies itself as. Using the same BD_ADDR is problematic
when having multiple Intel Edison modules in each others range.
The default address also has the LAA (locally administered address)
bit set which prevents a BNEP device from being created, needed for
BT tethering.

Add this to the list of black listed default MAC addresses and let
the user configure a valid one using f.i.
`btmgmt -i hci0 public-addr xx:xx:xx:xx:xx:xx`

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bluetooth/btbcm.c