net/ice/base: fix build with GCC 12
[dpdk.git] / drivers / net / ice / ice_dcf_parent.c
index 0c8c2ed..2f96ded 100644 (file)
@@ -340,7 +340,7 @@ ice_dcf_init_parent_hw(struct ice_hw *hw)
                goto err_unroll_alloc;
 
        /* Initialize port_info struct with link information */
-       status = ice_aq_get_link_info(hw->port_info, false, NULL, NULL);
+       status = ice_aq_get_link_info(hw->port_info, true, NULL, NULL);
        if (status)
                goto err_unroll_alloc;