From: Luciano Coelho <[email protected]>

We should not pass self explicitly when calling the superclass's
_add_scan_attrs() in the sched_scan_start class.  Fix it.

Signed-off-by: Luciano Coelho <[email protected]>
---
 lib/scan.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/scan.py b/lib/scan.py
index 32cb68b..3ce242e 100644
--- a/lib/scan.py
+++ b/lib/scan.py
@@ -191,7 +191,7 @@ class sched_scan_start(scan_start_base):
                self._matches = None
 
        def _add_scan_attrs(self):
-               super(sched_scan_start, self)._add_scan_attrs(self)
+               super(sched_scan_start, self)._add_scan_attrs()
                if self._interval != None:
                        nl.nla_put_u32(self._nl_msg._msg, 
nl80211.ATTR_SCHED_SCAN_INTERVAL, self._interval)
 
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to