From: Michael Brown Date: Wed, 10 Aug 2022 11:27:19 +0000 (+0100) Subject: [intelxl] Fix invocation of intelxlvf_admin_queues() X-Git-Tag: secboot-ioactive-20221109~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b61c2118ca54a8d9ad71cc402e7c9f6094f4ec6;p=thirdparty%2Fipxe.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 --- diff --git a/src/drivers/net/intelxlvf.c b/src/drivers/net/intelxlvf.c index e0e7dc610..d9922a7c6 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: