diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2022-06-24 10:51:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-07 18:53:26 +0300 |
commit | f7eaa228b0fac2ef3a875f6e436fd210a5a831d6 (patch) | |
tree | 8bc90f4e60cd4869f62ae556f5823d69995ab9ae | |
parent | 0b6e0eb5c45e79e9095de2498cc0ca5ec563fc5e (diff) | |
download | linux-f7eaa228b0fac2ef3a875f6e436fd210a5a831d6.tar.xz |
net: usb: asix: do not force pause frames support
commit ce95ab775f8d8e89a038c0e5611a7381a2ef8e43 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: e532a096be0e ("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>
-rw-r--r-- | drivers/net/usb/asix.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/usb/asix.h b/drivers/net/usb/asix.h index 4334aafab59a..c126df1c13ee 100644 --- a/drivers/net/usb/asix.h +++ b/drivers/net/usb/asix.h @@ -126,8 +126,7 @@ AX_MEDIUM_RE) #define AX88772_MEDIUM_DEFAULT \ - (AX_MEDIUM_FD | AX_MEDIUM_RFC | \ - AX_MEDIUM_TFC | AX_MEDIUM_PS | \ + (AX_MEDIUM_FD | AX_MEDIUM_PS | \ AX_MEDIUM_AC | AX_MEDIUM_RE) /* AX88772 & AX88178 RX_CTL values */ |