]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c
qlcnic: fix cdrp race condition
[karo-tx-linux.git] / drivers / net / ethernet / qlogic / qlcnic / qlcnic_init.c
index 7f4b8e69079a7e23eafcbae81eb99c690da84fea..312c1c37889d719585d9e1eb9c2ab211f65a81d7 100644 (file)
@@ -1889,8 +1889,8 @@ qlcnic_fetch_mac(struct qlcnic_adapter *adapter, u32 off1, u32 off2,
        u32 mac_low, mac_high;
        int i;
 
-       mac_low = QLCRD32(adapter, off1);
-       mac_high = QLCRD32(adapter, off2);
+       mac_low = off1;
+       mac_high = off2;
 
        if (alt_mac) {
                mac_low |= (mac_low >> 16) | (mac_high << 16);