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

Commit b424332d authored by Sarveshwar Bandi's avatar Sarveshwar Bandi Committed by David S. Miller
Browse files

be2net: Fix to show wol disabled/enabled state correctly.

parent d98ef50f
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -680,6 +680,7 @@ be_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)


	if (be_is_wol_supported(adapter)) {
	if (be_is_wol_supported(adapter)) {
		wol->supported |= WAKE_MAGIC;
		wol->supported |= WAKE_MAGIC;
		if (adapter->wol)
			wol->wolopts |= WAKE_MAGIC;
			wol->wolopts |= WAKE_MAGIC;
	} else
	} else
		wol->wolopts = 0;
		wol->wolopts = 0;