mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-18 07:09:36 +02:00
ANDROID: Reapply: "net: usb: ax88179_178a: avoid writing the mac address before first reading"
This reverts commit 17dbe88d22
.
Reason for revert: Fixes merged into upstream already,
will do the following cherrypicks instead of the revert:
https://android-review.googlesource.com/c/kernel/common/+/3152176
https://android-review.googlesource.com/c/kernel/common/+/3152177
Bug: 339479352
Change-Id: If96ca1b9dcdb8a26404db6502b261b855d9f0f26
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
This commit is contained in:
parent
2916880780
commit
8a43f59a49
|
@ -1317,6 +1317,8 @@ static int ax88179_bind(struct usbnet *dev, struct usb_interface *intf)
|
|||
|
||||
netif_set_tso_max_size(dev->net, 16384);
|
||||
|
||||
ax88179_reset(dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1690,7 +1692,6 @@ static const struct driver_info ax88179_info = {
|
|||
.unbind = ax88179_unbind,
|
||||
.status = ax88179_status,
|
||||
.link_reset = ax88179_link_reset,
|
||||
.reset = ax88179_reset,
|
||||
.stop = ax88179_stop,
|
||||
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
|
||||
.rx_fixup = ax88179_rx_fixup,
|
||||
|
@ -1703,7 +1704,6 @@ static const struct driver_info ax88178a_info = {
|
|||
.unbind = ax88179_unbind,
|
||||
.status = ax88179_status,
|
||||
.link_reset = ax88179_link_reset,
|
||||
.reset = ax88179_reset,
|
||||
.stop = ax88179_stop,
|
||||
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
|
||||
.rx_fixup = ax88179_rx_fixup,
|
||||
|
|
Loading…
Reference in New Issue
Block a user