diff options
author | 2013-05-01 04:27:57 +0000 | |
---|---|---|
committer | 2013-05-01 15:07:43 -0400 | |
commit | b0261926ef666142ff9f7de92622172bf1164a26 (patch) | |
tree | 2d83d45cae72be2bf419bcd921e4fe05f2343d77 /net/unix/garbage.c | |
parent | net: sctp: attribute printl with __printf for gcc fmt checks (diff) | |
download | wireguard-linux-b0261926ef666142ff9f7de92622172bf1164a26.tar.xz wireguard-linux-b0261926ef666142ff9f7de92622172bf1164a26.zip |
bnx2x: correct reading of speed capabilities
When the bnx2x driver reads the port configuration - mask irrelevant bits.
Without this change, the unintended bits may cause the driver to needlessly
toggle the link, as a comparison in the link flap avoidance flow will show
that the old link did not advertise the same capabilities and thus cannot
be retained.
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions