mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
em_hardware_init() in em_init() is not needed, and leads to annoying
link flap. Submitted by: ru, Mike Tancsa
This commit is contained in:
parent
c5d2fb8df7
commit
95c01e57d9
1 changed files with 0 additions and 7 deletions
|
|
@ -955,13 +955,6 @@ em_init_locked(struct em_softc *sc)
|
|||
/* Get the latest mac address, User can use a LAA */
|
||||
bcopy(IF_LLADDR(sc->ifp), sc->hw.mac_addr, ETHER_ADDR_LEN);
|
||||
|
||||
/* Initialize the hardware */
|
||||
if (em_hardware_init(sc)) {
|
||||
device_printf(dev, "Unable to initialize the hardware\n");
|
||||
return;
|
||||
}
|
||||
em_update_link_status(sc);
|
||||
|
||||
if (ifp->if_capenable & IFCAP_VLAN_HWTAGGING)
|
||||
em_enable_vlans(sc);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue