fcoe: use enum for fip_mode
The FIP mode is independent on the FIP state machine, so use a separate enum for that instead of overloading it with state machine values. Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

orang tua
6a551c1132
melakukan
1917d42d14
@@ -1308,7 +1308,7 @@ void fnic_handle_fip_timer(struct fnic *fnic)
|
||||
}
|
||||
spin_unlock_irqrestore(&fnic->fnic_lock, flags);
|
||||
|
||||
if (fnic->ctlr.mode == FIP_ST_NON_FIP)
|
||||
if (fnic->ctlr.mode == FIP_MODE_NON_FIP)
|
||||
return;
|
||||
|
||||
spin_lock_irqsave(&fnic->vlans_lock, flags);
|
||||
|
Reference in New Issue
Block a user