mirror of https://github.com/ipxe/ipxe.git
[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
parent
a202de385d
commit
1b61c2118c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue