Skip to content

Commit f7eaa22

Browse files
oleremgregkh
authored andcommitted
net: usb: asix: do not force pause frames support
commit ce95ab7 upstream. We should respect link partner capabilities and not force flow control support on every link. Even more, in current state the MAC driver do not advertises pause support so we should not keep flow control enabled at all. Fixes: e532a09 ("net: usb: asix: ax88772: add phylib support") Reported-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Tested-by: Anton Lundin <glance@acc.umu.se> Link: https://lore.kernel.org/r/20220624075139.3139300-2-o.rempel@pengutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0b6e0eb commit f7eaa22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/net/usb/asix.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@
126126
AX_MEDIUM_RE)
127127

128128
#define AX88772_MEDIUM_DEFAULT \
129-
(AX_MEDIUM_FD | AX_MEDIUM_RFC | \
130-
AX_MEDIUM_TFC | AX_MEDIUM_PS | \
129+
(AX_MEDIUM_FD | AX_MEDIUM_PS | \
131130
AX_MEDIUM_AC | AX_MEDIUM_RE)
132131

133132
/* AX88772 & AX88178 RX_CTL values */

0 commit comments

Comments
 (0)