Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5030156yba; Mon, 13 May 2019 04:16:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPQyoagNUinYALZzqoOqIAiJdUqq0BpmkLxPje4L0iOQ3GiB8vfBf/E6rpc8Z747iMrnee X-Received: by 2002:a63:d816:: with SMTP id b22mr29669500pgh.16.1557746211096; Mon, 13 May 2019 04:16:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557746211; cv=none; d=google.com; s=arc-20160816; b=yGtlMXHri/6MCjd+JyRCQ/1H42pbtg+R0TZEjWTdYFafHd1sxaMbV069MOZG9/9OBp LpsXcEdQPg3lgBByi/RrH0jiy43qe7/6jID0n5ZqOGebq0p6cyWsDbQJOxvNHMvBqihW uqngi9BVF9Dk3J/sTmJBiTCvIhc6wBS9tqa/VjFNnuFeKYQ3Bq5LbdwrHPas9DKziQG5 caG5EaABdgLtu3P0zlZawYNuE+P4DdRebI3riODlq/Wlqp2OYRPC9FA6Gs/L5HZQ6eAy LzPPDO2tZKT5H2GqPj05dQxjNwVEbeDQFo8W+7wUM/4IAdoqqbUp3eBZfUt5ogTzPK47 81JQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5xaO4Rnhg+v+w7e7ZJzPx2NKcizPo/uezNYrnWniXQA=; b=eduJXWESNE1ujnOFn1Hv+gzVXgEsetgUrbayrSCJTqMvqJ5pOaTbaY1hikdg6L/y6f ErmLc8EG5PgPPWDnkJ9J8h4fIpYXH/g/xu/8NK1fHa6PlPmOlJbkdJW3iNMKcoUbEAf7 jeG2vnRpQaW4RWjYj2Lt2DeHbi8pChc9WS96cpAhN1091/bz6z2DVRyfSz9qJisCE3Ye RbJGy6Oqv9L32+1i8pxSM4ty0NUqYFTUboB4eX4CQEdD4JAqT+OKcsATSS61L/Sx+S2e /T0nyUa1BWbCVkMmDSxPEHPcbwvHMrj946RwT05OUAaN4129S9homTQSp5sd2OhAQvaY JMSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lGdSSews; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a89si2183707pla.348.2019.05.13.04.16.23; Mon, 13 May 2019 04:16:51 -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=@kernel.org header.s=default header.b=lGdSSews; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727640AbfEMKYE (ORCPT + 99 others); Mon, 13 May 2019 06:24:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:46380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbfEMKYD (ORCPT ); Mon, 13 May 2019 06:24:03 -0400 Received: from localhost.localdomain (unknown [151.66.17.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 67E3C208CA; Mon, 13 May 2019 10:24:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557743043; bh=uAmW4lkgyoXXVu7OEyGc79pNfqmPd12Lj52dDKXhFjk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lGdSSewsRyImU1lXUbcUIEjX9lfsfkhUUwcbTRIL1rYIw4MN/S+d43oPZOz2O4V5I SwVej4QUQsvM0lnayuLVEstrk6NOY+C1f2issENvgtDPU7FOEK7QldLodlOoH4E5nu xbuLZYNk7c3k6tpW7cfNTzRtJqG4FiglmGIP/4/g= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, sgruszka@redhat.com Subject: [PATCH] mt76: mt76x02: fix edcca file permission Date: Mon, 13 May 2019 12:23:29 +0200 Message-Id: <0e4f22246404d095de2a7e28ddf7572ff71bdb05.1557742856.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Use 0600 as edcca file permission in mt76x02 debugfs Fixes: 643749d4a82b ("mt76: mt76x02: disable ED/CCA by default") Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c b/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c index f412c779d8e2..ffdba5ffc22d 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c @@ -157,7 +157,7 @@ void mt76x02_init_debugfs(struct mt76x02_dev *dev) debugfs_create_u8("temperature", 0400, dir, &dev->cal.temp); debugfs_create_bool("tpc", 0600, dir, &dev->enable_tpc); - debugfs_create_file("edcca", 0400, dir, dev, &fops_edcca); + debugfs_create_file("edcca", 0600, dir, dev, &fops_edcca); debugfs_create_file("ampdu_stat", 0400, dir, dev, &fops_ampdu_stat); debugfs_create_file("dfs_stats", 0400, dir, dev, &fops_dfs_stat); debugfs_create_devm_seqfile(dev->mt76.dev, "txpower", dir, -- 2.20.1