Commit 19a12049 authored by Mahesh Bandewar's avatar Mahesh Bandewar Committed by David S. Miller

bonding: Remove hardcoded initialization

Signed-off-by: default avatarMahesh Bandewar <maheshb@google.com>
Signed-off-by: default avatarAndy Gospodarek <gospo@cumulusnetworks.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6e47d6ca
...@@ -1776,7 +1776,7 @@ static void ad_initialize_port(struct port *port, int lacp_fast) ...@@ -1776,7 +1776,7 @@ static void ad_initialize_port(struct port *port, int lacp_fast)
port->is_enabled = true; port->is_enabled = true;
/* private parameters */ /* private parameters */
port->sm_vars = 0x3; port->sm_vars = AD_PORT_BEGIN | AD_PORT_LACP_ENABLED;
port->sm_rx_state = 0; port->sm_rx_state = 0;
port->sm_rx_timer_counter = 0; port->sm_rx_timer_counter = 0;
port->sm_periodic_state = 0; port->sm_periodic_state = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment