diff options
author | Michael Brown <mcb30@ipxe.org> | 2022-08-10 12:27:19 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2022-08-10 12:29:45 +0100 |
commit | 1b61c2118ca54a8d9ad71cc402e7c9f6094f4ec6 (patch) | |
tree | d918a4946b552541ed41b9f39df5f5bdd2dc8b3c /src/drivers/net | |
parent | a202de385dcb9c15a1b2b3fd339abbe721ed5c86 (diff) | |
download | ipxe-1b61c2118ca54a8d9ad71cc402e7c9f6094f4ec6.zip ipxe-1b61c2118ca54a8d9ad71cc402e7c9f6094f4ec6.tar.gz ipxe-1b61c2118ca54a8d9ad71cc402e7c9f6094f4ec6.tar.bz2 |
[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>
Diffstat (limited to 'src/drivers/net')
-rw-r--r-- | src/drivers/net/intelxlvf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/intelxlvf.c b/src/drivers/net/intelxlvf.c index e0e7dc6..d9922a7 100644 --- a/src/drivers/net/intelxlvf.c +++ b/src/drivers/net/intelxlvf.c @@ -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: |