scsi: qedf: Fix VLAN display when printing sent FIP frames
authorChad Dupuis <chad.dupuis@cavium.com>
Wed, 25 Apr 2018 13:08:48 +0000 (06:08 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 May 2018 04:57:10 +0000 (00:57 -0400)
Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_fip.c

index aef199c..c6b984e 100644 (file)
@@ -134,7 +134,7 @@ void qedf_fip_send(struct fcoe_ctlr *fip, struct sk_buff *skb)
 
        QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_LL2, "FIP frame send: "
            "dest=%pM op=%x sub=%x vlan=%04x.", eth_hdr->h_dest, op, sub,
-           ntohs(vlan_tci));
+           vlan_tci);
        if (qedf_dump_frames)
                print_hex_dump(KERN_WARNING, "fip ", DUMP_PREFIX_OFFSET, 16, 1,
                    skb->data, skb->len, false);