Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3af9dd0 authored by David S. Miller's avatar David S. Miller
Browse files

cxgb3i: Fix flags test.



As noticed by Stephen Rothwell.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a4b751d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);