From patchwork Tue Jun 16 07:32:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Coelho X-Patchwork-Id: 6613981 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 32D3AC0020 for ; Tue, 16 Jun 2015 07:33:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5007D2060A for ; Tue, 16 Jun 2015 07:33:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 68B34207C5 for ; Tue, 16 Jun 2015 07:33:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754648AbbFPHdZ (ORCPT ); Tue, 16 Jun 2015 03:33:25 -0400 Received: from paleale.coelho.fi ([176.9.41.70]:32944 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755973AbbFPHdW (ORCPT ); Tue, 16 Jun 2015 03:33:22 -0400 Received: from a88-113-225-236.elisa-laajakaista.fi ([88.113.225.236] helo=localhost.localdomain) by farmhouse.coelho.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.85) (envelope-from ) id 1Z4lMz-0007vc-KC; Tue, 16 Jun 2015 10:33:18 +0300 From: Luca Coelho To: aspriel@gmail.com Cc: linux-wireless@vger.kernel.org Date: Tue, 16 Jun 2015 10:32:38 +0300 Message-Id: <1434439958-9447-1-git-send-email-luca@coelho.fi> X-Mailer: git-send-email 2.1.4 X-SA-Exim-Connect-IP: 88.113.225.236 X-SA-Exim-Mail-From: luca@coelho.fi X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Subject: [PATCH py80211] py80211: scan: fix call to _add_scan_attrs() in the sched_scan_start class X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on farmhouse.coelho.fi) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Luciano Coelho 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 --- 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)