diff options
-rw-r--r-- | drivers/scsi/cxgb3i/cxgb3i_offload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/cxgb3i/cxgb3i_offload.c b/drivers/scsi/cxgb3i/cxgb3i_offload.c index 4b8a5133d69d..7449d465bc17 100644 --- a/drivers/scsi/cxgb3i/cxgb3i_offload.c +++ b/drivers/scsi/cxgb3i/cxgb3i_offload.c | |||
@@ -1442,7 +1442,7 @@ static int is_cxgb3_dev(struct net_device *dev) | |||
1442 | struct cxgb3i_sdev_data *cdata; | 1442 | struct cxgb3i_sdev_data *cdata; |
1443 | struct net_device *ndev = dev; | 1443 | struct net_device *ndev = dev; |
1444 | 1444 | ||
1445 | if (dev->priv_flags && IFF_802_1Q_VLAN) | 1445 | if (dev->priv_flags & IFF_802_1Q_VLAN) |
1446 | ndev = vlan_dev_real_dev(dev); | 1446 | ndev = vlan_dev_real_dev(dev); |
1447 | 1447 | ||
1448 | write_lock(&cdata_rwlock); | 1448 | write_lock(&cdata_rwlock); |