aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
diff options
context:
space:
mode:
authorHimanshu Madhani <himanshu.madhani@qlogic.com>2013-03-08 04:53:50 -0500
committerDavid S. Miller <davem@davemloft.net>2013-03-09 16:09:18 -0500
commitd16951d94aabb72245319679036125b8d7efead9 (patch)
tree55772b7c09bceb9f03884bb48eba1c4df0220f3d /drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
parenta96227e66f0a0361d96885042629bf60eb6a4b39 (diff)
qlcnic: Enable LED test support for 83xx adapter
o Add support for LED test on 83xx series adapters Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c')
-rw-r--r--drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
index 5641f8ec49ab..ba1502acc84a 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
@@ -1176,7 +1176,8 @@ static int qlcnic_set_led(struct net_device *dev,
1176 int err = -EIO, active = 1; 1176 int err = -EIO, active = 1;
1177 1177
1178 if (qlcnic_83xx_check(adapter)) 1178 if (qlcnic_83xx_check(adapter))
1179 return -EOPNOTSUPP; 1179 return qlcnic_83xx_set_led(dev, state);
1180
1180 if (adapter->ahw->op_mode == QLCNIC_NON_PRIV_FUNC) { 1181 if (adapter->ahw->op_mode == QLCNIC_NON_PRIV_FUNC) {
1181 netdev_warn(dev, "LED test not supported for non " 1182 netdev_warn(dev, "LED test not supported for non "
1182 "privilege function\n"); 1183 "privilege function\n");