Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7038205ybi; Thu, 13 Jun 2019 08:32:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQtFVPxb65u5zeaFbO8cG13+tmcWOESXutMzdXYxIKj/15FQescMqHaHslMaI90NZ33YO8 X-Received: by 2002:a17:902:e490:: with SMTP id cj16mr86960428plb.136.1560439933472; Thu, 13 Jun 2019 08:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560439933; cv=none; d=google.com; s=arc-20160816; b=qa321THCRF1h9AmucCM9Dm0kq2eIVMq1jfzPiEsIz/QyRuRP9BPzumlEwOkrStDcFN 1ESXZnQiG9DysCd+WNj/DVLwNU16TCS0Sp9pTUiKM610MdNjJJFDxKgqlZBrFw2d79Rx suYfbzamrqsHME6IlAMXBgaTaOlGq8Zz30EaTLmbgRUXfKELS6SApD8XdSO/vSndEkDt axMn+qFe0Ia0ok+54gH9/C7RL6e9OwEiXH2guuGn8W2tLqUI3dqQFMWrezCn8uFwKm+6 X2gXc8AMDuDmpxaqPB2pBr2RXUZnH+WSnE1aurEo+lEC/ANioMPWCBcXuNqx8LpfjeFX AqiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=3lk/vuAZF7oO7f2eJE+rZB4+fsRJ4dIavidYbN7D8lc=; b=vtPF8YROZqexoK0uTO9lHnbax4oTtTXK2t9Jm9+gLKD+I1o4fitaOXKizm2oeX5ABw WhYTNumUJD92TKgBLdI1QUC9Bfc1RFjPQiKgLX7POV2kcyBNAK9bsCHNThgd1HYFJAiI KpNh6/wTCtF40PwPIkl05XFdlqUt1DkHZ4u9RGiRrHHSigIUKDEt8QdYHXCXqUzS6Eie kt3fmoRkeWaxHj28bbXiBQchD31fsXkBL7kpLuGUmb+t24U2mCf+zdtgMLKTXopY7zKY M7eUkyIQk44j15OIE55Gpr/2hfAtzWnDg0A+divLGQd7O6Mh810NLgqOF7osfHbKuRoY FPLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quantenna.com header.s=selector2 header.b="PLcGC/W9"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b12si98836pgl.77.2019.06.13.08.31.45; Thu, 13 Jun 2019 08:32:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@quantenna.com header.s=selector2 header.b="PLcGC/W9"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729035AbfFMP3e (ORCPT + 99 others); Thu, 13 Jun 2019 11:29:34 -0400 Received: from mail-eopbgr740050.outbound.protection.outlook.com ([40.107.74.50]:48048 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728861AbfFMLYE (ORCPT ); Thu, 13 Jun 2019 07:24:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quantenna.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3lk/vuAZF7oO7f2eJE+rZB4+fsRJ4dIavidYbN7D8lc=; b=PLcGC/W9flXvkCaXAMDU5AFvoJFtDuv8l7Zf7h9cr63NgCWJUr1gyUyWae6lhEp2osSB2+y2mALYZeSzly4HYPjBdE/ac9GPjOaLKSSHoDl2wan1mLt3imR7VDEzqf5fEMY+GtKZ6trdu6CrIdtXi/o+vZpTX7lFQadUCglrqQI= Received: from BN6PR05MB2946.namprd05.prod.outlook.com (10.173.19.143) by BN6PR05MB3140.namprd05.prod.outlook.com (10.172.147.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.10; Thu, 13 Jun 2019 11:22:03 +0000 Received: from BN6PR05MB2946.namprd05.prod.outlook.com ([fe80::c5c4:3ecc:8bd5:4d58]) by BN6PR05MB2946.namprd05.prod.outlook.com ([fe80::c5c4:3ecc:8bd5:4d58%3]) with mapi id 15.20.2008.002; Thu, 13 Jun 2019 11:22:03 +0000 Received: from SN6PR05MB4928.namprd05.prod.outlook.com (52.135.117.74) by SN6PR05MB4256.namprd05.prod.outlook.com (52.135.73.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.10; Thu, 13 Jun 2019 11:21:40 +0000 Received: from SN6PR05MB4928.namprd05.prod.outlook.com ([fe80::a902:576c:72d6:b358]) by SN6PR05MB4928.namprd05.prod.outlook.com ([fe80::a902:576c:72d6:b358%5]) with mapi id 15.20.2008.002; Thu, 13 Jun 2019 11:21:40 +0000 From: Sergey Matyukevich To: "linux-wireless@vger.kernel.org" CC: Johannes Berg , Igor Mitsyanko , Mikhail Karpenko , Sergey Matyukevich Subject: [RFC PATCH] cfg80211: fix duplicated scan entries after channel switch Thread-Topic: [RFC PATCH] cfg80211: fix duplicated scan entries after channel switch Thread-Index: AQHVIdor2pKU2TPLDEKkmFBmH5mjfg== Date: Thu, 13 Jun 2019 11:21:40 +0000 Message-ID: <20190613112128.834-1-sergey.matyukevich.os@quantenna.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR02CA0041.namprd02.prod.outlook.com (2603:10b6:a03:54::18) To SN6PR05MB4928.namprd05.prod.outlook.com (2603:10b6:805:9d::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=sergey.matyukevich.os@quantenna.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.11.0 x-originating-ip: [195.182.157.78] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c89e9ace-dde8-4329-b38c-08d6eff14ddc x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:SN6PR05MB4256; x-ms-traffictypediagnostic: SN6PR05MB4256:|BN6PR05MB3140: x-moderation-data: 6/13/2019 11:22:01 AM x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 0067A8BA2A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39850400004)(346002)(136003)(396003)(376002)(366004)(189003)(199004)(81166006)(7736002)(8936002)(6512007)(73956011)(66446008)(64756008)(66556008)(99286004)(54906003)(2906002)(66946007)(52116002)(316002)(103116003)(5640700003)(50226002)(6486002)(68736007)(305945005)(6436002)(107886003)(66476007)(6916009)(81156014)(8676002)(53936002)(14454004)(71200400001)(6506007)(386003)(25786009)(71190400001)(86362001)(4326008)(186003)(2616005)(2501003)(26005)(256004)(3846002)(14444005)(66066001)(486006)(102836004)(436003)(478600001)(476003)(6116002)(36756003)(5660300002)(1076003)(2351001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR05MB3140;H:BN6PR05MB2946.namprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: quantenna.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 3+yavuC01qrqEaNlsQUbQ1+ncmw6l+lgU5iUKvS1b44ZrNfplZnkAVIHEqJA4dsozN1FkG2rK16rLsB9NssFy5vCWYaPNA3wtoFOyP3c2BJ8hwb9T5G4vzbvC+D2sJDHpZkqBTRCzywC9GfFAfAbOiM7n6P9B8QElASluQ/n57C3YtgpuaMOMKUyMjF1dEqyMx7fU9b4hYUhIFhPl7gkiotOyj0wc3a8svznJ38mskdF05VYkY0BcKLkmJDcuh21n2cnd+XXGEEOHSTMHKyf3ko1m/i8HN2Ihaa5mIZ/niC2wP+aRxCFvhQp1okdYQ38KMz9KpAhE+AtKZR6b7jsxKqJ2dCP4am+yf+jwQ8+kbJJhmnDzBYuvjQgtrbG5KolSEDJuuY47NOHRuTQJsiK6Qw2+8WWieSPOi0xH61uDHI= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: quantenna.com X-MS-Exchange-CrossTenant-Network-Message-Id: c89e9ace-dde8-4329-b38c-08d6eff14ddc X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a355dbce-62b4-4789-9446-c1d5582180ff X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SPO_Arbitration_b0b286b7-f867-4773-abab-9aa7f1e88f6f@quantenna.onmicrosoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2019 11:22:03.5752 (UTC) X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR05MB3140 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org V2hlbiBhc3NvY2lhdGVkIEJTUyBjb21wbGV0ZXMgY2hhbm5lbCBzd2l0Y2ggcHJvY2VkdXJlLCBp dHMgY2hhbm5lbCByZWNvcmQNCm5lZWRzIHRvIGJlIHVwZGF0ZWQuIFRoZSBleGlzdGluZyBtYWM4 MDIxMSBzb2x1dGlvbiB3YXMgZXh0ZW5kZWQgdG8NCmNmZzgwMjExIGluIGNvbW1pdCA1ZGM4Y2Rj ZTFkNzIgKCJtYWM4MDIxMS9jZmc4MDIxMTogdXBkYXR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