summaryrefslogtreecommitdiff
path: root/tools/devbind/devbind.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/devbind/devbind.py')
-rw-r--r--tools/devbind/devbind.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/devbind/devbind.py b/tools/devbind/devbind.py
index 6855ffc..39b8ea0 100644
--- a/tools/devbind/devbind.py
+++ b/tools/devbind/devbind.py
@@ -355,7 +355,7 @@ def bind_all(devices, dev_list, driver, force=False):
# check if updated information indicates that the device was bound
if "Driver_str" in devices[d]:
- unbind_one(d, force)
+ unbind_one(devices, d, force)
def hwfile_encode(location):
devices = get_nic_details()