aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/team/team_mode_broadcast.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/team/team_mode_broadcast.c')
-rw-r--r--drivers/net/team/team_mode_broadcast.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/team/team_mode_broadcast.c b/drivers/net/team/team_mode_broadcast.c
index c96e4d2967f..9db0171e936 100644
--- a/drivers/net/team/team_mode_broadcast.c
+++ b/drivers/net/team/team_mode_broadcast.c
@@ -48,18 +48,18 @@ static bool bc_transmit(struct team *team, struct sk_buff *skb)
48 48
49static int bc_port_enter(struct team *team, struct team_port *port) 49static int bc_port_enter(struct team *team, struct team_port *port)
50{ 50{
51 return team_port_set_team_mac(port); 51 return team_port_set_team_dev_addr(port);
52} 52}
53 53
54static void bc_port_change_mac(struct team *team, struct team_port *port) 54static void bc_port_change_dev_addr(struct team *team, struct team_port *port)
55{ 55{
56 team_port_set_team_mac(port); 56 team_port_set_team_dev_addr(port);
57} 57}
58 58
59static const struct team_mode_ops bc_mode_ops = { 59static const struct team_mode_ops bc_mode_ops = {
60 .transmit = bc_transmit, 60 .transmit = bc_transmit,
61 .port_enter = bc_port_enter, 61 .port_enter = bc_port_enter,
62 .port_change_mac = bc_port_change_mac, 62 .port_change_dev_addr = bc_port_change_dev_addr,
63}; 63};
64 64
65static const struct team_mode bc_mode = { 65static const struct team_mode bc_mode = {