mirror of
https://github.com/ipxe/ipxe
synced 2025-12-18 02:20:19 +03:00
[intelxl] Fix invocation of intelxlvf_admin_queues()
The second parameter to intelxlvf_admin_queues() is a boolean used to select the VF opcode, rather than the raw VF opcode itself. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -510,7 +510,7 @@ static int intelxlvf_open ( struct net_device *netdev ) {
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
err_promisc:
|
err_promisc:
|
||||||
intelxlvf_admin_queues ( netdev, INTELXL_ADMIN_VF_DISABLE );
|
intelxlvf_admin_queues ( netdev, 0 );
|
||||||
err_enable:
|
err_enable:
|
||||||
err_irq_map:
|
err_irq_map:
|
||||||
err_configure:
|
err_configure:
|
||||||
|
|||||||
Reference in New Issue
Block a user