Skip to content

Commit

Permalink
cxgb3i: Fix flags test.
Browse files Browse the repository at this point in the history
As noticed by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jan 4, 2010
1 parent a4b751d commit d3af9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/cxgb3i/cxgb3i_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ static int is_cxgb3_dev(struct net_device *dev)
struct cxgb3i_sdev_data *cdata;
struct net_device *ndev = dev;

if (dev->priv_flags && IFF_802_1Q_VLAN)
if (dev->priv_flags & IFF_802_1Q_VLAN)
ndev = vlan_dev_real_dev(dev);

write_lock(&cdata_rwlock);
Expand Down

0 comments on commit d3af9dd

Please sign in to comment.