Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1075791pxk; Thu, 3 Sep 2020 22:55:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKJPdwtJEfhjw5VZwIsUwkneJLaoLTJUHb/7WpG76SIaU6HYGZD3xqVz3GnrtJrdrmmQ9x X-Received: by 2002:a50:8f44:: with SMTP id 62mr6833540edy.351.1599198949352; Thu, 03 Sep 2020 22:55:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599198949; cv=none; d=google.com; s=arc-20160816; b=YP6tbC+XFsVDIJ0wXLTdUpyTeqqYV/4NrpBIFjV/GsMOajclEHahZCP1vs8PRKZq8l 9mbKPSzCGMsJOB1iHP1F2KBXn9RvRDkAQYTkup77TX81PVbHsAprjxbh8l9j940luH4T S6BkUZu1J8Ia2pFin9u4MCQEo6otcy7WdU+RcGgAh388NtHvtq0WhFBVjn/hteoiWHT9 KivmY3/hUmVuiUudWkdMKBjjXdGB5ZF0vjMJm08c0TE7acb5WZDodEtiAMLD3uHB4fKd Mwh2rHAj670DYwUKMyqBoPINic/w5Cj7Islp1DWue049Tb+8kHzHhPA+eN/eiRzZwJVX pSpA== 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=jPwwJyFn/+V/3BD7kswj4A4OC14ihyANbZY+bcDcNig=; b=ixb7vr3UFFnFx0J+GviG7VaBKCblhnl36hG8QkxVNmC+x2WOczzOZzeWI3w87HLeN4 97fxSxSv/zwWFgYgh30+cOL0NJSCSwxd88gbnhDUSCxU4/DzCyhp/4W9ICRZSYs+hMgi a25E7Lt9oYlc+c+QuuwX8iJDPEE0Iv9zrF2kpMrTQJw9sB0gfGmwGbxflxHMhUbYrttm FSEMVxVCrRn9g5FZkJ/KduCUyRJAP8DyIgG66EOJ9ZMuS0NJV2ykeEI4k9weQNnsyxiM tggeJ+PUhfMJDtYKzlHnNPAnlZ9vHgjgw783spkfExKufpLofqd1/fquNy+TbHcdhrQe M+zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=jOi6ySow; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id n8si3440009ejj.649.2020.09.03.22.55.10; Thu, 03 Sep 2020 22:55:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=jOi6ySow; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 S1726445AbgIDFvK (ORCPT + 99 others); Fri, 4 Sep 2020 01:51:10 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:42992 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725812AbgIDFvJ (ORCPT ); Fri, 4 Sep 2020 01:51:09 -0400 X-UUID: 6dd3e289bd8840d19d9b71b25bc22b22-20200904 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=jPwwJyFn/+V/3BD7kswj4A4OC14ihyANbZY+bcDcNig=; b=jOi6ySowdlOa3/dwTxbrW1Wr5jWrpcmDZ4A+QHZ14oEYKgvn5sovrc5+5keTFOaC5OU8mYDeTWSrSGgnDi3KttN29wIl+7yab3nLobMMj8SrIzT0pbPLuON3kunkUgjKHCOMU6Cts6pO5zxdvwXynxBeAvzZW9bnTNLFA/tk9xM=; X-UUID: 6dd3e289bd8840d19d9b71b25bc22b22-20200904 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1095372783; Fri, 04 Sep 2020 13:51:04 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 4 Sep 2020 13:51:02 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 4 Sep 2020 13:51:03 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Shayne Chen , Evelyn Tsai , , , Chih-Min Chen , Ryder Lee Subject: [PATCH] mt76: mt7915: fix unexpected firmware mode Date: Fri, 4 Sep 2020 13:51:02 +0800 Message-ID: <1ff9c333497bc23c535028c53e19e9d9724cf4c0.1599099379.git.ryder.lee@mediatek.com> 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 RnJvbTogQ2hpaC1NaW4gQ2hlbiA8Y2hpaC1taW4uY2hlbkBtZWRpYXRlay5jb20+DQoNCkF2b2lk IGZpcm13YXJlIGZhbGxpbmcgaW50byBzcGVjdHJ1bSBtb2RlIHNpbmNlIHRoYXQgd2lsbCBzZXQN CnVuZXhwZWN0ZWQgUFNFL1BMRSB0aHJlc2hvbGRzIHdoaWNoIGxlYWQgdG8gVHgga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