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

Commit 4d419156 authored by Matthew Vick's avatar Matthew Vick Committed by Jeff Kirsher
Browse files

fm10k: Check the host state when bringing the interface up



Set the flag to fetch the host state before kicking off the service task
that reads the host state when bringing the interface back up.

Signed-off-by: default avatarMatthew Vick <matthew.vick@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 91269e39
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1489,6 +1489,7 @@ void fm10k_up(struct fm10k_intfc *interface)
	netif_tx_start_all_queues(interface->netdev);
	netif_tx_start_all_queues(interface->netdev);


	/* kick off the service timer */
	/* kick off the service timer */
	hw->mac.get_host_state = 1;
	mod_timer(&interface->service_timer, jiffies);
	mod_timer(&interface->service_timer, jiffies);
}
}