summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYi Cong <yicong@kylinos.cn>2025-07-24 09:31:33 +0800
committerJakub Kicinski <kuba@kernel.org>2025-07-25 11:05:22 -0700
commita75afcd188e1a7385c71f78d4e5e8d7b6bd9c2e4 (patch)
treee64cb335fb44ee323ad3c9d765714fb70974f7a7 /net/unix/af_unix.c
parentf6c650c8d87e778a36f69acfc591f99b04bfe82b (diff)
usbnet: Set duplex status to unknown in the absence of MII
Currently, USB CDC devices that do not use MDIO to get link status have their duplex mode set to half-duplex by default. However, since the CDC specification does not define a duplex status, this can be misleading. This patch changes the default to DUPLEX_UNKNOWN in the absence of MII, which more accurately reflects the state of the link and avoids implying an incorrect or error state. Link: https://lore.kernel.org/all/20250723152151.70a8034b@kernel.org/ Signed-off-by: Yi Cong <yicong@kylinos.cn> Acked-by: Oliver Neukum <oneukum@suse.com> Link: https://patch.msgid.link/20250724013133.1645142-1-yicongsrfy@163.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions