commit | 33f9e6f57eb91cafcee4d8f185487bce6787957b | [log] [tgz] |
---|---|---|
author | Yaniv Rosner <yanivr@broadcom.com> | Tue Jan 28 17:28:51 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 28 18:08:57 2014 -0800 |
tree | 55b981d25fd0cf61db89dce9fd0a69b3c91bb748 | |
parent | 7fceb4de75f993a598d27af835e87b19b8be514e [diff] |
bnx2x: Fix generic option settings When user tried to change generic options using "ethtool -s" command, while SFP module is plugged out or during module detection, the command would have failed with "Unsupported port type" message. The fix is to ignore the port option in case it's same as the current port configuration. Signed-off-by: Yaniv Rosner <yanivr@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>