Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75A27C43387 for ; Sat, 5 Jan 2019 18:39:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 48D2C22300 for ; Sat, 5 Jan 2019 18:39:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726562AbfAESjN (ORCPT ); Sat, 5 Jan 2019 13:39:13 -0500 Received: from mail-oln040092072058.outbound.protection.outlook.com ([40.92.72.58]:42976 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726545AbfAESjL (ORCPT ); Sat, 5 Jan 2019 13:39:11 -0500 Received: from DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com (10.152.20.60) by DB5EUR03HT095.eop-EUR03.prod.protection.outlook.com (10.152.21.241) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.18; Sat, 5 Jan 2019 18:39:08 +0000 Received: from DB7PR07MB5353.eurprd07.prod.outlook.com (10.152.20.60) by DB5EUR03FT031.mail.protection.outlook.com (10.152.20.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.18 via Frontend Transport; Sat, 5 Jan 2019 18:39:08 +0000 Received: from DB7PR07MB5353.eurprd07.prod.outlook.com ([fe80::e1f9:8635:f629:eb8e]) by DB7PR07MB5353.eurprd07.prod.outlook.com ([fe80::e1f9:8635:f629:eb8e%4]) with mapi id 15.20.1516.010; Sat, 5 Jan 2019 18:39:08 +0000 From: Bernd Edlinger To: Ping-Ke Shih , Larry Finger , Kalle Valo , "David S. Miller" , "linux-wireless@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH v2 3/4] rtlwifi: rtl8723ae: Re-introduce Thread-Topic: [PATCH v2 3/4] rtlwifi: rtl8723ae: Re-introduce Thread-Index: AQHUpSXx1u4Unkx78EyFWoocfFUG9A== Date: Sat, 5 Jan 2019 18:39:08 +0000 Message-ID: Accept-Language: en-US, en-GB, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6PR03CA0007.eurprd03.prod.outlook.com (2603:10a6:20b::20) To DB7PR07MB5353.eurprd07.prod.outlook.com (2603:10a6:10:6e::26) x-incomingtopheadermarker: OriginalChecksum:C2D183642B7F702CDED4AB6AEE5275700AB74163CC56E03C6618B4A7974AAB63;UpperCasedChecksum:FBA69186EE839C9AC540186E7AC42364D9FE3473ABEF95C270822CCFDB4F0F4B;SizeAsReceived:8689;Count:62 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [Z9RHEA6ZkjcYruUzczWJ84Pgv1kK6z7v] x-microsoft-original-message-id: <1d19b8cb-101d-f890-5d11-4366db570bdd@hotmail.de> x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB5EUR03HT095;6:lsKquh1MAC/UDRkp3E++Ei7/fmuNbiDMbfWMkUL3uH7fEdZ5DKtWXEGUy2ZRjsQSL2An+YEqT28w+L/50TD6QFumDZNMgdNOz2XqDdhetvI2P7MWjAMaTM3y/duEaH+ukjHzoslcHYF0SUfAUM3rHH9zF8AG8NHjI9o0ibOnkqSkzCrAfRRrQ5ZjPtH8wD3eB8s5qI/N7t1xwzcXaoVQPnsUzDEYVU61o0Cvoh7o9CSmVS8KEkMkpkV3N9uM05JOvqq4CmFS1eDzUCPpSUji8eUCEofLw3QaOlgObAc8sWyS4EUfeNj5QcoTQ38kijwiN4BtgKTmj+s3hEbyfbWVx9BdkVvvSBUWDZdeWKP5h2e3uS5EdpygwKd6zg9JYavkwGYXKzjpMG0+WI9MV4WIGJDk8aXUuNSNs/wQNP3mSZ1jY1o8foK2V+Iy397/ZaBjxrcBqBNvmvUeuOwjpRG/Cg==;5:StrJeGxXNwZeicsv1FI0XRTRNfssmG4nE0VFD2NvKf4XNKFUnS3mUR8H09DmkLidx2wgzeVRV8g6YB8AjI5sz/CK2hQsKn1n4kgC+Llm3CgjHR9u/rpm2WrSIGChdiIzImU5q40H5r+BET9jo/+L1TayQxd6ZRjvUigxKYcXCOA=;7:/hK/78UMAy33PNqxxpuh1cnqX8dnze7NVjVQSkiSsDrgg/XS3UDMSmHr4K/LTj9Ycv10S04DG4EKjX+NIgmaDnL84ogT+HYTvlEpgQe1MpkaSp9CbMSr28R6S8UOM2bZMCjkvTRmZOnTQlaVBhy1Iw== x-incomingheadercount: 62 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045);SRVR:DB5EUR03HT095; x-ms-traffictypediagnostic: DB5EUR03HT095: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(4566010)(82015058);SRVR:DB5EUR03HT095;BCL:0;PCL:0;RULEID:;SRVR:DB5EUR03HT095; x-microsoft-antispam-message-info: luh7Ff3gQArb0LvVmGFd4T+T2jxKMRG+0NnjxAcZ8XyUus6SBTAGLc0/gsgsRFXi Content-Type: text/plain; charset="utf-8" Content-ID: <29264DE8DCCEBE4DB08B2C0FFB457276@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-Network-Message-Id: 4bc55aa2-202e-4531-471a-08d6733d1392 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jan 2019 18:39:07.3681 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR03HT095 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org IHJ0bDg3MjNlX2RtX3JlZnJlc2hfcmF0ZV9hZGFwdGl2ZV9tYXNrDQoNClRoaXMgZnVuY3Rpb24g d2FzIHByZXNlbnQgaW4gYSBwcmV2aW91cyB2ZXJzaW9uIG9mIHRoZSBjb2RlIGJhc2UsDQppdCB3 b3JrcyBqdXN0IGZpbmUgZm9yIG1lIC0tIGFzIGxvbmcgYXMgaXQgaXMgbm90IHVzaW5nIHN0YWxl IGRhdGEuDQoNCkZpeGVkIGEgc3R5bGUgbml0IGluIHJ0bDg3MjNlX2RtX2luaXRfcmF0ZV9hZGFw dGl2ZV9tYXNrLg0KDQpTaWduZWQtb2ZmLWJ5OiBCZXJuZCBFZGxpbmdlciA8YmVybmQuZWRsaW5n ZXJAaG90bWFpbC5kZT4NCi0tLQ0KIC4uLi9uZXQvd2lyZWxlc3MvcmVhbHRlay9ydGx3aWZpL3J0 bDg3MjNhZS9kbS5jICAgIHwgODcgKysrKysrKysrKysrKysrKysrKysrLQ0KIDEgZmlsZSBjaGFu Z2VkLCA4NSBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygtKQ0KDQpkaWZmIC0tZ2l0IGEvZHJp dmVycy9uZXQvd2lyZWxlc3MvcmVhbHRlay9ydGx3aWZ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