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

Commit 62660e28 authored by Roel Kluin's avatar Roel Kluin Committed by David S. Miller
Browse files

sundance: missing parentheses?

parent 9df8f4e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -909,7 +909,7 @@ static void check_duplex(struct net_device *dev)
			printk(KERN_INFO "%s: Setting %s-duplex based on MII #%d "
				   "negotiated capability %4.4x.\n", dev->name,
				   duplex ? "full" : "half", np->phys[0], negotiated);
		iowrite16(ioread16(ioaddr + MACCtrl0) | duplex ? 0x20 : 0, ioaddr + MACCtrl0);
		iowrite16(ioread16(ioaddr + MACCtrl0) | (duplex ? 0x20 : 0), ioaddr + MACCtrl0);
	}
}