Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4147ybl; Mon, 2 Dec 2019 06:50:07 -0800 (PST) X-Google-Smtp-Source: APXvYqyW9WWtubK6JPx21lucbmJk0fhq/+hQ0uLNzaQMtOgPliL7suM2Fsat9NBSEpC6DMXBdQR6 X-Received: by 2002:a05:6402:1ac4:: with SMTP id ba4mr37918577edb.201.1575298207017; Mon, 02 Dec 2019 06:50:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575298207; cv=none; d=google.com; s=arc-20160816; b=St6iyrfkpM1z44UpUv7ZdzCXu99nptauzDoNd+CCnny//qfa/te+v7H34gpAT3grTe pV2RP3vk5qSOXQEYpesXh3PtVgmkHxy00tdsOnfDaWFRyCKKbUGveSdAeGiye3J1lWk9 WGF1FZf3+FKNdM/lmH6hLte4CBeRn+ZjTOOAf2N3e9W56dapomUWNOs5jHYBWQGTgwJs ABrH4t0VF0MjURMjezaiKrj8Y6KUya5xVv4GtyFETaf950BHLLFXpMKASAHEsyYauRo/ zRYI6mEZ079OS6GX0rp9/h895gcQkhJP4jZNpju69q9anOAxIPUA91ERHWo3VH8XzqCj +bIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:date:message-id:user-agent:cc :to:references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature; bh=NZASREa2sZ2iDGCqeA1LDkppBCuL1rsoiasHKV2LBa4=; b=rjUy5ix530HZRBwnY6+j2f/YHENeCqohxBHacyIN6D59GKw3e5gA2jbmFAynsXUu6f B/IwNAysCyT6hG+kyFwq75fjE2Z1PAW6kub+ChPT6Twc0L2KxmVmepOK+0yRTvJE9/WZ O6JwxDPUx0B6Sy/hhlocntm+5n2mUz2TwGSWGjSIWY+la3GKp0aMJDWDqW3rT4/5KTpt F2Qriq/l5xzB+hbpod03hkgwptX0uNL4TQJQ/RDu+wK+v/K8MgNHKchHuY6yzZfLwLkU woI1kdpMsZUFZm3+sQaP6cI1ubRPxEhNpMFYde3o+zmkq9P+FLHc6wlgVORJ0GOkaftS 48Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=LbOKHzZ2; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=ThfONfbm; 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 bs14si19899957ejb.292.2019.12.02.06.49.40; Mon, 02 Dec 2019 06:50:07 -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=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=LbOKHzZ2; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=ThfONfbm; 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 S1727401AbfLBOtb (ORCPT + 99 others); Mon, 2 Dec 2019 09:49:31 -0500 Received: from a27-188.smtp-out.us-west-2.amazonses.com ([54.240.27.188]:59682 "EHLO a27-188.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727362AbfLBOtb (ORCPT ); Mon, 2 Dec 2019 09:49:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1575298170; h=Content-Type:MIME-Version:Content-Transfer-Encoding:Subject:From:In-Reply-To:References:To:Cc:Message-Id:Date; bh=fc0TCpGmJNbhU79nDoexOq2pO8hL6gJXkSf6lpYIZYY=; b=LbOKHzZ2ap1jN65A57VFtyw83/xSh31I6ghHJZzyhzHCX007Jq0Sjw1QOF7yME1X M6a5KCyChu51X9KlcCNljoJtrxsEYJxMSCmG4NJCJVz1AmG+yOEVM+9T3tyPbGzfWNS Vc6Md52Kn13A1NLANw6CmaIkfOvID37nea/dXrQE= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1575298170; h=Content-Type:MIME-Version:Content-Transfer-Encoding:Subject:From:In-Reply-To:References:To:Cc:Message-Id:Date:Feedback-ID; bh=fc0TCpGmJNbhU79nDoexOq2pO8hL6gJXkSf6lpYIZYY=; b=ThfONfbmJTNsuRW7EjZzst+P+LPQ1143aRPSeeNTqui2Blne7QGrw1Xwn5dJBKtJ uop5/VMl48osdfcOA8IABPgJPjIzJqBINtjzHi60MLO9bGuxmsEyIfmTP8adIcDcz9g dnabHMOnG3oVEJCbsU2HhlFCBOG6pqvYzvIlVH1c= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=2.0 tests=ALL_TRUSTED,MISSING_DATE, MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E9367C447A6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] mt76: mt76x0: fix default mac address overwrite From: Kalle Valo In-Reply-To: <567a7cda15f641acb6eab5970370c9bfac96793e.1574548832.git.lorenzo@kernel.org> References: <567a7cda15f641acb6eab5970370c9bfac96793e.1574548832.git.lorenzo@kernel.org> To: Lorenzo Bianconi Cc: nbd@nbd.name, linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com, kevin.patrick.schmidt@googlemail.com User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-ID: <0101016ec7167e24-e30dd2ba-c8a3-4b8d-a248-29e739e9dfdc-000000@us-west-2.amazonses.com> Date: Mon, 2 Dec 2019 14:49:30 +0000 X-SES-Outgoing: 2019.12.02-54.240.27.188 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Lorenzo Bianconi wrote: > Current implementation always use default eeprom mac address to > configure device registers even if it is updated using > mt76_eeprom_override. Fix it initializing macaddr filed of mt76_dev data > structure with eeprom mac address and running mt76_eeprom_override > before mt76x02_mac_setaddr > > Fixes: d1bc9bf2072c ("mt76: mt76x0: eeprom: add support for MAC address from OF") > Tested-by: Kevin Schmidt > Signed-off-by: Lorenzo Bianconi Patch applied to wireless-drivers.git, thanks. 693d060536ab mt76: mt76x0: fix default mac address overwrite -- https://patchwork.kernel.org/patch/11259011/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches