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,URIBL_BLOCKED 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 1D505C43612 for ; Fri, 4 Jan 2019 12:49:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DE22E208E3 for ; Fri, 4 Jan 2019 12:49:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727790AbfADMsz (ORCPT ); Fri, 4 Jan 2019 07:48:55 -0500 Received: from mail-oln040092068057.outbound.protection.outlook.com ([40.92.68.57]:23199 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727609AbfADMsy (ORCPT ); Fri, 4 Jan 2019 07:48:54 -0500 Received: from HE1EUR02FT009.eop-EUR02.prod.protection.outlook.com (10.152.10.52) by HE1EUR02HT213.eop-EUR02.prod.protection.outlook.com (10.152.10.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1471.13; Fri, 4 Jan 2019 12:48:49 +0000 Received: from DB7PR07MB5353.eurprd07.prod.outlook.com (10.152.10.52) by HE1EUR02FT009.mail.protection.outlook.com (10.152.10.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1471.13 via Frontend Transport; Fri, 4 Jan 2019 12:48:49 +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.000; Fri, 4 Jan 2019 12:48:49 +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 3/4] rtlwifi: rtl8723ae: Re-introduce Thread-Topic: [PATCH 3/4] rtlwifi: rtl8723ae: Re-introduce Thread-Index: AQHUpCvWT8DRnoOfM0CRszihJH29JQ== Date: Fri, 4 Jan 2019 12:48:49 +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: AM5PR0201CA0013.eurprd02.prod.outlook.com (2603:10a6:203:3d::23) To DB7PR07MB5353.eurprd07.prod.outlook.com (2603:10a6:10:6e::26) x-incomingtopheadermarker: OriginalChecksum:9474B23F583E25E7959C1C8096CEEA2B412F78BA1A60E1FE9A4A3FBAB225220D;UpperCasedChecksum:3FF472842AE3ECDE5F7E2D003490E917DECE08477FE46DB17321900323BA6176;SizeAsReceived:8719;Count:62 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [O7Cy9wEpT/elZd5WiDEL/Gp/jVUh1not] x-microsoft-original-message-id: <13ef8d5e-cd1b-6c99-3314-61daf0b71c2b@hotmail.de> x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1EUR02HT213;6:jaK26lQP/GpJq/ALVGZYCIJVqo4Oj2DNqWHpY2U1TDPlCkqvkUpxkXZn9SiLO7Dm46lFmRfCuDlVrKNPPwRC9o4NcpGhN2NRGjMy1MaCdBWBkOc4bdMYkV17nos2zfU8NAUKTpjMcuhy4wc+glaGwXvP2Hj3wly7VYf5sC1jb5Nbs62mOWRQYF9yDG4U0baTxctNdQuWYqEkx/8snG7asEMuxSzqRKDvxdY7xM0J+3iGklZMY8Ry351s9hVqq4MzuoGORHfwU9BW12aOu1ov7tyigjBl4p9UnqS6XX30o/2DBMmirZXn1RsE/E3bsYvuMuKe4Jtnv3HAnAGYCx4vHSlG52S+PCmostaqlILEzF/NGInB+MFwn71gyaSjzZ4ZFXtcSGVZ51T/gjWE1LzFtHGljcuVcPvht/PSg+IP9xNlp/Q4J4vfhfCmy9LgLVz/zv7aRVEL+wIIIoWPYI3S5A==;5:OgmgdKqu//BQ35Ekao7fQ04HwRNha6gqt6I/NaEGGEZ55VY59U/G/6UAY3BgY+JS9sNHVYPxpkdTsZf/rQYWHM/Jjf6vofT7f1p4GITxGluDxBuU1lS7JlD7pKkxiT4oMfbBK4fb8lxDg9P0rybya03bzMoBSExWXNp89WNqeCk=;7:1rf0n8BsC5s0oUDUCtYOj8J5nEMMyQZh++6hkFjhsjjyu5dfI2eyrp5Zgs9pQbHzWKrRIJhE+pr8YkC6IZyanQWIQcULbBpwWkGI5V9JPAmwrjoe3Rl59UFoiYfarTJ/E2Fei8Gl721ikK+eUkXB3A== 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:HE1EUR02HT213; x-ms-traffictypediagnostic: HE1EUR02HT213: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(4566010)(82015058);SRVR:HE1EUR02HT213;BCL:0;PCL:0;RULEID:;SRVR:HE1EUR02HT213; x-microsoft-antispam-message-info: OSg8NWfaut9OuyJusqKxGzzZrO1yEngao0QibDXJtnWrTQK3eN72gVHYPdsoSINM Content-Type: text/plain; charset="utf-8" Content-ID: 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: 1cbd7e98-5679-4dc4-ca94-08d67242f8ea X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2019 12:48:48.4048 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT213 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org ICBydGw4NzIzZV9kbV9yZWZyZXNoX3JhdGVfYWRhcHRpdmVfbWFzaw0KDQpUaGlzIGZ1bmN0aW9u IHdhcyBwcmVzZW50IGluIGEgcHJldmlvdXMgdmVyc2lvbiBvZiB0aGUgY29kZSBiYXNlLA0KaXQg d29ya3MganVzdCBmaW5lIGZvciBtZSAtLSBhcyBsb25nIGFzIGl0IGlzIG5vdCB1c2luZyBzdGFs ZSBkYXRhLg0KDQpGaXhlZCBhIHN0eWxlIG5pdCBpbiBydGw4NzIzZV9kbV9pbml0X3JhdGVfYWRh cHRpdmVfbWFzay4NCg0KU2lnbmVkLW9mZi1ieTogQmVybmQgRWRsaW5nZXIgPGJlcm5kLmVkbGlu Z2VyQGhvdG1haWwuZGU+DQotLS0NCiAgLi4uL25ldC93aXJlbGVzcy9yZWFsdGVrL3J0bHdpZmkv cnRsODcyM2FlL2RtLmMgICAgfCA4NyArKysrKysrKysrKysrKysrKysrKystDQogIDEgZmlsZSBj aGFuZ2VkLCA4NSBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygtKQ0KDQpkaWZmIC0tZ2l0IGEv ZHJpdmVycy9uZXQvd2lyZWxlc3MvcmVhbHRlay9ydGx3aWZpL3J0bDg3MjNhZS9kbS5jIGIvZHJp dmVycy9uZXQvd2lyZWxlc3MvcmV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