mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-14 05:09:36 +02:00
Reapply "net: usb: ax88179_178a: avoid writing the mac address before first reading"
This reverts commit 17dbe88d22
.
This is fixed in the next 6.6.y merge, so it is ok to revert at this
point in time.
Change-Id: I94fbf9133de6aea13596ed0001b38d545db8565b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
ae95f64028
commit
d1e94b4e06
|
@ -1317,6 +1317,8 @@ static int ax88179_bind(struct usbnet *dev, struct usb_interface *intf)
|
||||||
|
|
||||||
netif_set_tso_max_size(dev->net, 16384);
|
netif_set_tso_max_size(dev->net, 16384);
|
||||||
|
|
||||||
|
ax88179_reset(dev);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1690,7 +1692,6 @@ static const struct driver_info ax88179_info = {
|
||||||
.unbind = ax88179_unbind,
|
.unbind = ax88179_unbind,
|
||||||
.status = ax88179_status,
|
.status = ax88179_status,
|
||||||
.link_reset = ax88179_link_reset,
|
.link_reset = ax88179_link_reset,
|
||||||
.reset = ax88179_reset,
|
|
||||||
.stop = ax88179_stop,
|
.stop = ax88179_stop,
|
||||||
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
|
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
|
||||||
.rx_fixup = ax88179_rx_fixup,
|
.rx_fixup = ax88179_rx_fixup,
|
||||||
|
@ -1703,7 +1704,6 @@ static const struct driver_info ax88178a_info = {
|
||||||
.unbind = ax88179_unbind,
|
.unbind = ax88179_unbind,
|
||||||
.status = ax88179_status,
|
.status = ax88179_status,
|
||||||
.link_reset = ax88179_link_reset,
|
.link_reset = ax88179_link_reset,
|
||||||
.reset = ax88179_reset,
|
|
||||||
.stop = ax88179_stop,
|
.stop = ax88179_stop,
|
||||||
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
|
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
|
||||||
.rx_fixup = ax88179_rx_fixup,
|
.rx_fixup = ax88179_rx_fixup,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user