aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/InterfaceUtil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py
index 3ab96d1b4d..24a65e86a9 100644
--- a/resources/libraries/python/InterfaceUtil.py
+++ b/resources/libraries/python/InterfaceUtil.py
@@ -1888,7 +1888,7 @@ class InterfaceUtil:
current_driver = DUTSetup.get_pci_dev_driver(
node, vf_pci_addr.replace(":", r"\:")
)
- if current_driver and current_driver != uio_driver:
+ if current_driver:
DUTSetup.pci_vf_driver_unbind(
node, pf_pci_addr, vf_id
)