libb43.py: Default phy parameter to None
authorMichael Buesch <mb@bu3sch.de>
Thu, 23 Sep 2010 19:15:28 +0000 (21:15 +0200)
committerMichael Buesch <mb@bu3sch.de>
Thu, 23 Sep 2010 19:15:28 +0000 (21:15 +0200)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
debug/libb43.py

index cb2cf576dadfef981d628145375c64096cf03b91..cf8a7cec1a8a8a781479efbe8053d52f55593348 100644 (file)
@@ -62,7 +62,7 @@ class B43PsmDebug:
 class B43:
        """Hardware access layer. This accesses the hardware through the debugfs interface."""
 
-       def __init__(self, phy):
+       def __init__(self, phy=None):
                debugfs_path = self.__debugfs_find()
 
                # Construct the debugfs b43 path to the device