]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: mii: Fix PAUSE cap advertisement from linkmode_adv_to_lcl_adv_t() helper
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Tue, 26 Mar 2019 09:48:57 +0000 (11:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Mar 2019 05:49:06 +0000 (22:49 -0700)
commit7f07e5f1f778605e98cf2156d4db1ff3a3a1a74a
tree9ef6459f13443a93221ffd8eb956865fb2a28307
parent669efc76b317b3aa550ffbf0b79d064cb00a5f96
net: mii: Fix PAUSE cap advertisement from linkmode_adv_to_lcl_adv_t() helper

With a recent link mode advertisement code update this helper
providing local pause capability translation used for flow
control link mode negotiation got broken.
For eth drivers using this helper, the issue is apparent only
if either PAUSE or ASYM_PAUSE is being advertised.

Fixes: 3c1bcc8614db ("net: ethernet: Convert phydev advertize and supported from u32 to link mode")
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mii.h