diff options
author | Joe Perches <joe@perches.com> | 2015-03-02 19:54:55 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-03 17:01:37 -0500 |
commit | 211b85349ced1cf573ba0ec376038d8ec76885fb (patch) | |
tree | c396565c4fd1abe0f6b9c03727403cee8f893e4b /net/bluetooth/bnep | |
parent | 19ffa562ec138594571896f73c014873db11fc97 (diff) |
bluetooth: Use eth_<foo>_addr instead of memset
Use the built-in function instead of memset.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/bnep')
-rw-r--r-- | net/bluetooth/bnep/netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/bnep/netdev.c b/net/bluetooth/bnep/netdev.c index 4b488ec26105..6ceb5d36a32b 100644 --- a/net/bluetooth/bnep/netdev.c +++ b/net/bluetooth/bnep/netdev.c @@ -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); |