diff options
author | Shahed Shaikh <shahed.shaikh@qlogic.com> | 2013-07-19 16:56:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-19 17:08:16 -0700 |
commit | 744b66dde0dcdf3a0c31e1f6540d1f59d779ddd0 (patch) | |
tree | 7e7be7fe1dc38553e49a054364769db8392f2e48 | |
parent | 15d79747b57159fc1e063f1404e4f379cb5be026 (diff) | |
download | linux-stable-744b66dde0dcdf3a0c31e1f6540d1f59d779ddd0.tar.gz linux-stable-744b66dde0dcdf3a0c31e1f6540d1f59d779ddd0.tar.bz2 linux-stable-744b66dde0dcdf3a0c31e1f6540d1f59d779ddd0.zip |
qlcnic: Fix dump template version mask
Driver was using wrong mask for template version.
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c index ab8a6744d402..79e54efe07b9 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c @@ -1084,7 +1084,7 @@ flash_temp: tmpl_hdr = ahw->fw_dump.tmpl_hdr; tmpl_hdr->drv_cap_mask = QLCNIC_DUMP_MASK_DEF; - if ((tmpl_hdr->version & 0xffffff) >= 0x20001) + if ((tmpl_hdr->version & 0xfffff) >= 0x20001) ahw->fw_dump.use_pex_dma = true; else ahw->fw_dump.use_pex_dma = false; |