mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
Fix build by using the driver API (driver converted in r266979 which should
be upstreamed). X-MFC with: r268854 MFC after: 5 days
This commit is contained in:
parent
7882b61f60
commit
cd01c7a84f
1 changed files with 1 additions and 1 deletions
|
|
@ -1302,7 +1302,7 @@ bxe_stats_update(struct bxe_softc *sc)
|
|||
|
||||
if (bxe_storm_stats_update(sc)) {
|
||||
if (sc->stats_pending++ == 3) {
|
||||
if (sc->ifnet->if_drv_flags & IFF_DRV_RUNNING) {
|
||||
if (if_getdrvflags(sc->ifp) & IFF_DRV_RUNNING) {
|
||||
atomic_store_rel_long(&sc->chip_tq_flags, CHIP_TQ_REINIT);
|
||||
taskqueue_enqueue(sc->chip_tq, &sc->chip_tq_task);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue