mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
PR kern/68474:
Changed if_ipending to if_flags
This commit is contained in:
parent
6fc92a7a9d
commit
6ff8a07467
1 changed files with 2 additions and 2 deletions
|
|
@ -699,7 +699,7 @@ ixgb_init(void *arg)
|
|||
* Only disable interrupts if we are polling, make sure they are on
|
||||
* otherwise.
|
||||
*/
|
||||
if (ifp->if_ipending & IFF_POLLING)
|
||||
if (ifp->if_flags & IFF_POLLING)
|
||||
ixgb_disable_intr(adapter);
|
||||
else
|
||||
#endif /* DEVICE_POLLING */
|
||||
|
|
@ -759,7 +759,7 @@ ixgb_intr(void *arg)
|
|||
ifp = &adapter->interface_data.ac_if;
|
||||
|
||||
#ifdef DEVICE_POLLING
|
||||
if (ifp->if_ipending & IFF_POLLING)
|
||||
if (ifp->if_flags & IFF_POLLING)
|
||||
return;
|
||||
|
||||
if (ether_poll_register(ixgb_poll, ifp)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue