ixgbe/base: remove lan id from phy struct
[dpdk.git] / lib / librte_pmd_ixgbe / ixgbe / ixgbe_x540.c
index c2d685f..6e8835d 100644 (file)
@@ -747,7 +747,7 @@ STATIC void ixgbe_set_mux(struct ixgbe_hw *hw, u8 state)
 {
        u32 esdp;
 
-       if (!hw->phy.lan_id)
+       if (!hw->bus.lan_id)
                return;
        esdp = IXGBE_READ_REG(hw, IXGBE_ESDP);
        if (state)