Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 211b8534 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

bluetooth: Use eth_<foo>_addr instead of memset



Use the built-in function instead of memset.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 19ffa562
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -218,7 +218,7 @@ static const struct net_device_ops bnep_netdev_ops = {
void bnep_net_setup(struct net_device *dev)
{

	memset(dev->broadcast, 0xff, ETH_ALEN);
	eth_broadcast_addr(dev->broadcast);
	dev->addr_len = ETH_ALEN;

	ether_setup(dev);