From: Lee Duncan <[email protected]>

When filling in the target context for an iBFT target,
we were putting "flags" in target_flags, but then checking
nic_flags.
---
 utils/fwparam_ibft/fwparam_sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/fwparam_ibft/fwparam_sysfs.c 
b/utils/fwparam_ibft/fwparam_sysfs.c
index c5b0b004c657..23eb9138c3d6 100644
--- a/utils/fwparam_ibft/fwparam_sysfs.c
+++ b/utils/fwparam_ibft/fwparam_sysfs.c
@@ -255,7 +255,7 @@ static int fill_tgt_context(char *subsys, char *id,
         * sets Bit 1 (Firmware Booting Selected).
         * So any setting is deemed okay.
         */
-       if (!rc && (context->nic_flags == 0))
+       if (!rc && (context->target_flags == 0))
                rc = ENODEV;
        if (rc)
                return rc;
-- 
2.1.4

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to