Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

bonding: Remove hardcoded initialization

parent 6e47d6ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;