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

Commit 083925d5 authored by John W. Linville's avatar John W. Linville Committed by David S. Miller
Browse files

rndis_host: support ETHTOOL_GPERMADDR

parent a21090cf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -418,6 +418,7 @@ generic_rndis_bind(struct usbnet *dev, struct usb_interface *intf, int flags)
		goto halt_fail_and_release;
	}
	memcpy(net->dev_addr, bp, ETH_ALEN);
	memcpy(net->perm_addr, bp, ETH_ALEN);

	/* set a nonzero filter to enable data transfers */
	memset(u.set, 0, sizeof *u.set);