]> git.baikalelectronics.ru Git - kernel.git/commit
net: usb: asix: do not force pause frames support
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 24 Jun 2022 07:51:39 +0000 (09:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 28 Jun 2022 05:04:33 +0000 (22:04 -0700)
commit0c699fa39d4b2ed8a2d7f4e7e32480dec7dfa78f
tree48c0e55ef5463b220c78fc0ac7ce105b01a3ad4a
parenta969b3cf8ee9128c937784fbf1b7d81f125a9cd2
net: usb: asix: do not force pause frames support

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: 1259b629c90b ("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>
drivers/net/usb/asix.h