Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp212920ybv; Tue, 4 Feb 2020 19:50:46 -0800 (PST) X-Google-Smtp-Source: APXvYqybPUPsWCF2gqwYBRVeY6P4BZbcVl1+b6CdtUB8ANgCvtGis5FW2YUYvHsXwFNQoCZ9FfoX X-Received: by 2002:aca:fd4c:: with SMTP id b73mr1650451oii.33.1580874646429; Tue, 04 Feb 2020 19:50:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580874646; cv=none; d=google.com; s=arc-20160816; b=kqlcn9VVmBXEuSSMKS5JoggRWKnLw0ZF/PTY8N8Xh24gGtktVzXJrvHo9GSHKBvyvk xUR72gMnbkfbuqP/YEgWFdUz8FmCUgXoIVCQLGJ0ELOvIVdZ438kxioh0yYZBjDb4LIG eeXiUi/CYNWMg92G3rnk7G/U+hD9rQo+DFFKNpo3zMIqw3r/yJlM5AJ46RCVVaDvVDjb XNtFuYX2npksmOTxQ2sD8Jnhx9hM1FwYI9is2VzG28YEhzQn1UyIjLiYbgqF/WIIC+hO uR2aceiVjHnQCUqlT5UoVpClSapqMu75G/n86K1hWGu6NeCE6STB+NcixhuMMRQ5dC36 oSGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jz7BtOn/G8LT4mRItKKrIs0A5WhRRkjr2DQoea+nrDY=; b=RfMtzlEu6E4I6tb0kXQ2z3k5ZtkC8jb12X/nqM0Kc1QdyJAjnIekD4tDoP/mHeRS4w I9O/wnC9HuH0pHHOIws7qpw42ZWoTCXRzz36qildygl/oJu9F1CH12mSMVma/IpIsT7P Jip2cL6Q3gD8DLx888DLChfZgbXXz9moNicVbHOyMnO7LlQCrUymNyRSqht2Moowwzyg vqcq4evt0G8zfvq9AASlRL2rIjdsCk1flUGmw++hleAHd1CUlp1MOERmPzF91vAcSuFo iX8mQ/YRZ7hqkhtZW/ndSTDPewrEr5lukdWASwTl5Q2LEAtIIP3uHJLQZZjuYNrehXkp BhDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="C8/L7eWe"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si12652702otr.131.2020.02.04.19.50.16; Tue, 04 Feb 2020 19:50:46 -0800 (PST) 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=@mediatek.com header.s=dk header.b="C8/L7eWe"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727834AbgBEDrG (ORCPT + 99 others); Tue, 4 Feb 2020 22:47:06 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:49657 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727792AbgBEDrG (ORCPT ); Tue, 4 Feb 2020 22:47:06 -0500 X-UUID: 03a792a462a845d5ba9f81c332988a16-20200205 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=jz7BtOn/G8LT4mRItKKrIs0A5WhRRkjr2DQoea+nrDY=; b=C8/L7eWez7bOK7N4a1RyxMHK9c3kyXxeNf27NgmhSrou12Ei4OYlO32IrnN/GaMtRAsRJMsI6xH2iKX1HfxTMY21a+6F+QCGDN2t/lkgckOSQLSPtY1N/1BrFjOXZBDcn8G6UATm/06YlUoxlknKnV/1CFmcLzADgJltp9Omzf8=; X-UUID: 03a792a462a845d5ba9f81c332988a16-20200205 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 991039202; Wed, 05 Feb 2020 11:46:59 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 5 Feb 2020 11:47:59 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 5 Feb 2020 11:46:33 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Shayne Chen , Sean Wang , Josh Boyer , , , Ryder Lee Subject: [PATCH] mt76: mt7615: fix wrong length in strncmp Date: Wed, 5 Feb 2020 11:46:54 +0800 Message-ID: X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Rml4IGl0IHRvIHByb3BlciBsZW5ndGguDQoNClNpZ25lZC1vZmYtYnk6IFJ5ZGVyIExlZSA8cnlk ZXIubGVlQG1lZGlhdGVrLmNvbT4NCi0tLQ0KIGRyaXZlcnMvbmV0L3dpcmVsZXNzL21lZGlhdGVr L210NzYvbXQ3NjE1L21jdS5jIHwgMiArLQ0KIDEgZmlsZSBjaGFuZ2VkLCAxIGluc2VydGlvbigr KSwgMSBkZWxldGlvbigtKQ0KDQpkaWZmIC0tZ2l0IGEvZHJpdmVycy9uZXQvd2lyZWxlc3MvbWVk aWF0ZWsvbXQ3Ni9tdDc2MTUvbWN1LmMgYi9kcml2ZXJzL25ldC93aXJlbGVzcy9tZWRpYXRlay9t dDc2L210NzYxNS9tY3UuYw0KaW5kZXggNjYzOWY5MjkxNzIxLi5mYmRhNTYzNDJkMTEgMTAwNjQ0 DQotLS0gYS9kcml2ZXJzL25ldC93aXJlbGVzcy9tZWRpYXRlay9tdDc2L210NzYxNS9tY3UuYw0K KysrIGIvZHJpdmVycy9uZXQvd2lyZWxlc3MvbWVkaWF0ZWsvbXQ3Ni9tdDc2MTUvbWN1LmMNCkBA IC00OTEsNyArNDkxLDcgQEAgc3RhdGljIGludCBtdDc2MTVfbG9hZF9yYW0oc3RydWN0IG10NzYx NV9kZXYgKmRldikNCiAJCWdvdG8gb3V0Ow0KIAl9DQogDQotCWlmICghc3RybmNtcChoZHItPmZ3 X3ZlciwgIjIuMCIsIDYpKQ0KKwlpZiAoIXN0cm5jbXAoaGRyLT5md192ZXIsICIyLjAiLCAzKSkN CiAJCWRldi0+ZndfdmVyID0gTVQ3NjE1X0ZJUk1XQVJFX1YyOw0KIAllbHNlDQogCQlkZXYtPmZ3 X3ZlciA9IE1UNzYxNV9GSVJNV0FSRV9WMTsNCi0tIA0KMi4xOC4wDQo=