summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cirrus
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-05-22 20:07:00 -0300
committerDavid S. Miller <davem@davemloft.net>2014-05-23 15:31:49 -0400
commite68de36072e1b9012bc07fe18f83a6c30ce3d260 (patch)
treec4151a7e3906f130ae4fe2efb1aba9fad9367664 /drivers/net/ethernet/cirrus
parent9672850be34c1c3db3b98605c0bee9c58545cdca (diff)
net: mvneta: Use prepare/commit API to simplify MAC address setting
Use eth_prepare_mac_addr_change and eth_commit_mac_addr_change, instead of manually checking and storing the MAC address, which makes the code slightly more robust. This fixes the lack of valid MAC address check in the driver's .ndo_set_mac_address hook. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cirrus')
0 files changed, 0 insertions, 0 deletions