openwrt/target/linux/bcm27xx/patches-6.6/950-0986-Revert-net-usb-ax88179_178a-avoid-two-consecutive-de.patch

27 lines
708 B
Diff
Raw Normal View History

From f79bd67b13cffb48ca9f506259413db90ece9b66 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Thu, 21 Mar 2024 21:16:27 +0000
Subject: [PATCH 0986/1085] Revert "net: usb: ax88179_178a: avoid two
consecutive device resets"
This reverts commit d7a319889498a1542470dd461c8e9022f3ef75f4.
See: https://github.com/raspberrypi/bookworm-feedback/issues/239
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
drivers/net/usb/ax88179_178a.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/net/usb/ax88179_178a.c
+++ b/drivers/net/usb/ax88179_178a.c
@@ -1320,6 +1320,8 @@ static int ax88179_bind(struct usbnet *d
ax88179_reset(dev);
+ ax88179_reset(dev);
+
return 0;
}