bnx2x: fix set_setting for some PHYs
authorYaniv Rosner <Yaniv.Rosner@qlogic.com>
Wed, 23 Jul 2014 19:12:57 +0000 (22:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Jul 2014 01:02:08 +0000 (18:02 -0700)
commit042d7654ecb68383c392e3c7e86e04de023f65f9
tree1a2948b500741608d4485a683c6a8cde9335d690
parent29be6180766eb2a3cb59a0d5a47eb90863cf9019
bnx2x: fix set_setting for some PHYs

Allow set_settings() to complete succesfully even if link is
not estabilished and port type isn't known yet.

Signed-off-by: Yaniv Rosner <Yaniv.Rosner@qlogic.com>
Signed-off-by: Dmitry Kravkov <Dmitry.Kravkov@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c