mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ixgbe: Fix a logic error in ixgbe_read_mailbox_vf()
Reviewed by: kbowling Differential Revision: https://reviews.freebsd.org/D49156 (cherry picked from commit 5c7087c349fc1d826807aa1a11912c9e774e3321)
This commit is contained in:
parent
f269d70719
commit
fade76e8b0
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ static u32 ixgbe_read_mailbox_vf(struct ixgbe_hw *hw)
|
|||
u32 vf_mailbox = IXGBE_READ_REG(hw, IXGBE_VFMAILBOX);
|
||||
|
||||
vf_mailbox |= hw->mbx.vf_mailbox;
|
||||
hw->mbx.vf_mailbox |= vf_mailbox % IXGBE_VFMAILBOX_R2C_BITS;
|
||||
hw->mbx.vf_mailbox |= vf_mailbox & IXGBE_VFMAILBOX_R2C_BITS;
|
||||
|
||||
return vf_mailbox;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue