diff options
author | Joe Perches <joe@perches.com> | 2015-03-02 22:54:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-03 17:01:37 -0500 |
commit | 211b85349ced1cf573ba0ec376038d8ec76885fb (patch) | |
tree | c396565c4fd1abe0f6b9c03727403cee8f893e4b | |
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>
-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 = { | |||
218 | void bnep_net_setup(struct net_device *dev) | 218 | void bnep_net_setup(struct net_device *dev) |
219 | { | 219 | { |
220 | 220 | ||
221 | memset(dev->broadcast, 0xff, ETH_ALEN); | 221 | eth_broadcast_addr(dev->broadcast); |
222 | dev->addr_len = ETH_ALEN; | 222 | dev->addr_len = ETH_ALEN; |
223 | 223 | ||
224 | ether_setup(dev); | 224 | ether_setup(dev); |