Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1969813ybl; Sat, 14 Dec 2019 03:38:47 -0800 (PST) X-Google-Smtp-Source: APXvYqyEd0IpTRvY+UOyccE2HDh2VO69y9eUjmcWEUlbjmX3j3rDVJlJ9SCq6zK/ns8to2QZhFIb X-Received: by 2002:a05:6830:148d:: with SMTP id s13mr20839926otq.323.1576323527075; Sat, 14 Dec 2019 03:38:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576323527; cv=none; d=google.com; s=arc-20160816; b=eIxsYI8EDCHhl4hTxPq5T2y9tU/MtDUJgCUjf+8cNgnR7r5dfHevnk4FAAim6gbfUG GTos80P4LYSmvlN4TqCcs/yl4uhbSWC9Sp6IzC9hPy4utHAln8yq53ewnp5PFzJgkJ2Z 1Rw9URmKeyQkE+ATy7u87yZuoMaiZQNmyMG66Y5f+4wDHusw2tpGv1o7sMIH3HP+1tBU Zt8eLNLjQekSXgQ6qcEOVsBeYJx5fie6HBxHqUqGmerK+XT03nQUsYJPEt9zNpRLaFK3 4jomakDc8rbbakauOK2+BdndAJVaOee3FxqudFSIpmV/cMUdFB0jZRaqcrQym4DBTa2g /TNw== 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=tu9Jxro/WRqZ8zFULZtR4PTpeFKrsiSb8i5Fjp7K8r0=; b=fkwbfpAaZEtLulG6S45Odp0OFw4mxCSTZRFKsRoZf2fBY9y6C3KXpOeCvpnK7Lcet+ /wKOrjGkbW16i9oc5fG/00V/o5XF4Sold83b4eFMFhOtZNoSVcS6wuCndTLActozDAea vkQrakyq1+DV1A9obTmwcvfSskLS0vkfgmxd5aYvANTP+6wAe+O8AhvgOuvrDR0dwtxB zKCm5XpsFyd0XJk0OYKhAJ8Tdx6kmTeegiaUPmpHlbJ6r/0AYs3HfhTzze+JH+IvH1b6 sFH6JqyLAxKKKjLVgQL0odxMPoIK9/D5YSbaSGsJDJOVDEburRxZ2Lb7EXRK/WmUaU4T /OSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Spb7eG4s; 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 p28si7156465oth.296.2019.12.14.03.38.23; Sat, 14 Dec 2019 03:38:47 -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=Spb7eG4s; 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 S1726083AbfLNLhz (ORCPT + 99 others); Sat, 14 Dec 2019 06:37:55 -0500 Received: from mailgw02.mediatek.com ([216.200.240.185]:40034 "EHLO mailgw02.mediatek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725872AbfLNLhz (ORCPT ); Sat, 14 Dec 2019 06:37:55 -0500 X-Greylist: delayed 301 seconds by postgrey-1.27 at vger.kernel.org; Sat, 14 Dec 2019 06:37:55 EST X-UUID: 0d80f49c04a44ca3ab62fc25a93521be-20191214 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=tu9Jxro/WRqZ8zFULZtR4PTpeFKrsiSb8i5Fjp7K8r0=; b=Spb7eG4sloYHT1JwoOCvxMlcMZ85bc/WwqYNUdxfO62wQAVoX6dvDfB6Y4G41B6M8yjACN/VZxQUh8RnM5jbraYfxzQJ9ZhPLI1o3lJbuRuT+rQiwoXV4K6BiL2GGJU1HfbiHe0i9qFAwhxkFTAd9ykTKYbaO0Xa6a0vInb9eiw=; X-UUID: 0d80f49c04a44ca3ab62fc25a93521be-20191214 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 265399583; Sat, 14 Dec 2019 03:32:42 -0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 14 Dec 2019 19:25:55 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sat, 14 Dec 2019 19:25:14 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Lorenzo Bianconi , Ryder Lee , Roy Luo , linux-mediatek , Shayne Chen Subject: [PATCH] mt76: do not overwrite max_tx_fragments if it has been set Date: Sat, 14 Dec 2019 19:22:04 +0800 Message-ID: <20191214112204.32701-1-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 6C614476A65735D8D959C8976F109021CB8C575DD9BAB6DA3602F85CBB2D2B3C2000:8 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 UHJldmVudCB0aGUgb3ZlcndyaXRpbmcgb2YgbWF4X3R4X2ZyYWdtZW50cyBpZiBpdCBoYXMgYWxy ZWFkeSBiZWVuIHNldA0KaW4gY2hpcC1zc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