mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 12:30:20 +03:00
[build] Fix dubious uses of bitwise operators
Detected by sparse. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1011,7 +1011,7 @@ static void fcoe_expired ( struct retry_timer *timer, int over __unused ) {
|
||||
/* Increment the timeout counter */
|
||||
fcoe->timeouts++;
|
||||
|
||||
if ( vlan_can_be_trunk ( fcoe->netdev ) &
|
||||
if ( vlan_can_be_trunk ( fcoe->netdev ) &&
|
||||
! ( fcoe->flags & FCOE_VLAN_TIMED_OUT ) ) {
|
||||
|
||||
/* If we have already found a VLAN, send infrequent
|
||||
|
||||
Reference in New Issue
Block a user