]> git.karo-electronics.de Git - linux-beck.git/commit
net/ieee802154/6lowpan.c: reuse eth_mac_addr()
authorDanny Kukawka <danny.kukawka@bisect.de>
Wed, 22 Feb 2012 02:36:39 +0000 (02:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Feb 2012 19:46:37 +0000 (14:46 -0500)
commitcdf49c283e2e105da86ca575ad35b453f5ff24ea
tree186381fd86070e7e4b832becfdd607ca02049737
parentb049aadca3f2535bea245cb0bba1393d9a60c7a4
net/ieee802154/6lowpan.c: reuse eth_mac_addr()

Use eth_mac_addr() for .ndo_set_mac_address, remove
lowpan_set_address since it do currently the same as
eth_mac_addr(). Additional advantage: eth_mac_addr() already
checks if the given address is valid

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Acked-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.c