Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp383953ybl; Thu, 15 Aug 2019 19:46:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOMAgrxADZM2qWfq2sFEs3smRw0z9nOJBLTefLTTfGByFM5RMLGFOAwOySByi1xr3sXVe5 X-Received: by 2002:a63:c246:: with SMTP id l6mr5981725pgg.210.1565923574173; Thu, 15 Aug 2019 19:46:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565923574; cv=none; d=google.com; s=arc-20160816; b=JhZfVYedeMklls9z/M7fLoXX5P2xPKYKq5XubihkXWLkiN++dW8UloqDx9W90PPeo1 a45SVeYEG/JNqLymVh6r/JjMzvdkrQLC/yOHyOkRbK/5r3UQ2yiFWQhMZrTpxFJUd3zs hJStlJXMMz08OUpli5RPq6K4OBBxw7uAgFyv70T83OCfUjAgDInBoPMt3XELI9Q8SDFJ MUOcFT0p38K5weUXa5UKwLh1nRRUZTBzmtIjJAtY09a8G75J/AD0CwP05rlffhTjTgKf QfBnVNxzfma5z4sJkeP6MjLbOrDBIJWuwWBXuh0XpKAwJO0H2ZF0aPYqzogUBi9Nzq06 XY0Q== 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:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=izRjIp4Zx8Kr6+0RknhTNehm8dUBpXlE56Nv3axrTtQ=; b=N0iMP/yBVWvZVmG1lAN/pTA2b5LHu8KqpzOvxGYN4gKkLh1/MIMB1N+7pwlDhpu+JE 3xWxlQ3yWwWdbNfCdCP1Y3P0CrRVZOmmZTZR1XzILP5/G4GPsnxplstMAzSAFxbHGoDQ iN2BrsQ85Z6tbyAh6nM3pL5wCHKUfeEzZyCcMeb0z65ZNitIXPIZGuFBHRXQGCEoNXhD 0TzkiZP+11TTueKCVcvzGLCSYS/P1mmoEnIZS9njqMm7hw6HSdSHggSN2G903NDfydLz csKlT3GRG/NFZgdtvbydZSoB/xK/6KvCw5B/NYCFDM6cEcg0+eOCwhP6RahNcGN7p75/ 7uQQ== ARC-Authentication-Results: i=1; mx.google.com; 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 67si3399769pfv.74.2019.08.15.19.45.47; Thu, 15 Aug 2019 19:46:14 -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; 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 S1726537AbfHPCpg (ORCPT + 99 others); Thu, 15 Aug 2019 22:45:36 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:51928 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726434AbfHPCpf (ORCPT ); Thu, 15 Aug 2019 22:45:35 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x7G2jINu016587, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCASV01.realtek.com.tw[172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x7G2jINu016587 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Aug 2019 10:45:18 +0800 Received: from RTITMBSVM04.realtek.com.tw ([fe80::e404:880:2ef1:1aa1]) by RTITCASV01.realtek.com.tw ([::1]) with mapi id 14.03.0468.000; Fri, 16 Aug 2019 10:45:18 +0800 From: Tony Chuang To: Brian Norris CC: Kalle Valo , linux-wireless , Stanislaw Gruszka Subject: RE: [PATCH v3 2/3] rtw88: enclose c2h cmd handle with mutex Thread-Topic: [PATCH v3 2/3] rtw88: enclose c2h cmd handle with mutex Thread-Index: AQHVR5q3nan8bHQ1XkuCG3EAT/So7qb8RpoAgADeJtA= Date: Fri, 16 Aug 2019 02:45:17 +0000 Message-ID: References: <1564575767-27557-1-git-send-email-yhchuang@realtek.com> <1564575767-27557-3-git-send-email-yhchuang@realtek.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.68.183] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org PiBJIHVuZGVyc3RhbmQgdGhpcyBpcyBhbHJlYWR5IHF1ZXVlZCB1cCwgYnV0IEkgc3RpbGwgaGF2 ZSBhIHF1ZXN0aW9uOg0KPiANCj4gT24gV2VkLCBKdWwgMzEsIDIwMTkgYXQgNToyMyBBTSA8eWhj aHVhbmdAcmVhbHRlay5jb20+IHdyb3RlOg0KPiA+IEMySCBjb21tYW5kcyB0aGF0IGNhbm5vdCBi ZSBoYW5kbGVkIGluIElSUSBjb250ZXh0IHNob3VsZA0KPiA+IGJlIHByb3RlY3RlZCBieSBydHdk ZXYtPm11dGV4LiBCZWNhdXNlIHRoZXkgbWlnaHQgaGF2ZSBhDQo+ID4gc2VxdWVjZSBvZiBoYXJk d2FyZSBvcGVyYXRpb25zIHRoYXQgZG9lcyBub3Qgd2FudCB0byBiZQ0KPiA+IGludGVyZmVyZWQu DQo+IA0KPiBDYW4geW91IGVsYWJvcmF0ZSBvbiB3aGF0IGludGVyZmVyZW5jZSB5b3UncmUgbG9v a2luZyBhdCwgZXhhY3RseT8gSSdtDQo+IG5vdCBhIGJpZyBmYW4gb2YgZGVmZW5zaXZlIGFkZGl0 aW9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