Message ID | 1331920711-16049-2-git-send-email-anirban.chakraborty@qlogic.com |
---|---|
State | Rejected, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c index 89ddf7f..56f7ebc 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c @@ -1136,6 +1136,12 @@ qlcnic_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) dump->len = fw_dump->tmpl_hdr->size + fw_dump->size; else dump->len = 0; + + if (fw_dump->enable) + dump->dump_state = ETH_FW_DUMP_ENABLE; + else + dump->dump_state = ETH_FW_DUMP_DISABLE; + dump->flag = fw_dump->tmpl_hdr->drv_cap_mask; dump->version = adapter->fw_version; return 0;