[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>
pull/697/head^2
Michael Brown 2022-08-10 12:27:19 +01:00
parent a202de385d
commit 1b61c2118c
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ static int intelxlvf_open ( struct net_device *netdev ) {
return 0;
err_promisc:
intelxlvf_admin_queues ( netdev, INTELXL_ADMIN_VF_DISABLE );
intelxlvf_admin_queues ( netdev, 0 );
err_enable:
err_irq_map:
err_configure: