bonding: Remove hardcoded initialization
Signed-off-by: Mahesh Bandewar <maheshb@google.com> Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6e47d6caff
commit
19a12049cd
|
@ -1776,7 +1776,7 @@ static void ad_initialize_port(struct port *port, int lacp_fast)
|
|||
|
||||
port->is_enabled = true;
|
||||
/* private parameters */
|
||||
port->sm_vars = 0x3;
|
||||
port->sm_vars = AD_PORT_BEGIN | AD_PORT_LACP_ENABLED;
|
||||
port->sm_rx_state = 0;
|
||||
port->sm_rx_timer_counter = 0;
|
||||
port->sm_periodic_state = 0;
|
||||
|
|
Loading…
Reference in New Issue