Message ID | 1495312410-9937-3-git-send-email-erik.stromdahl@gmail.com (mailing list archive) |
---|---|
State | RFC |
Delegated to: | Kalle Valo |
Headers | show
Return-Path: <ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 78BCF6041F for <patchwork-ath10k@patchwork.kernel.org>; Sat, 20 May 2017 20:34:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A3C1285E2 for <patchwork-ath10k@patchwork.kernel.org>; Sat, 20 May 2017 20:34:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F39528617; Sat, 20 May 2017 20:34:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BAC67285E4 for <patchwork-ath10k@patchwork.kernel.org>; Sat, 20 May 2017 20:34:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ycEZmGJu3YlBaWMnMEsFCBnGBuqYVtibMJw1M9iecyo=; b=KW1RSibiMRcDS5v3203MVNqJqF poXP5NX2cP6ZSBKdKq6063a1XdZuGFJFKYlLVvxZiw58AvP+xUqHJejKPlphdf7nrwxgZs6VajzYX ev4MCKjbwm6LYNKZ0DsPvE10YVnsEX7v9Via238KBLT14gD4zrJVDYmnhCnyJ6VIoKocYbU42kZOs waKYpjMSdo5syGmOBUrLBNI0CAbayM01WlKRCXwqsgRISaDmPqh8u6dIzGP59VtLs6XODoDp8uX25 c6pW89ze7MLvHJ6AJDctSjBOuul5Y/81jFun3ndes+W51DIdlQBXiRx/cp6poaY9IiFqrGp5zz34f XSPaEVVA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dCB52-0005yi-Io; Sat, 20 May 2017 20:34:28 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCB4v-0005t4-Rj for ath10k@lists.infradead.org; Sat, 20 May 2017 20:34:24 +0000 Received: by mail-lf0-x243.google.com with SMTP id m18so2393513lfj.0 for <ath10k@lists.infradead.org>; Sat, 20 May 2017 13:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QK+/rMwb2sIhwgFOHwTVHREqgYIMmxWyZlaL0y8FwX8=; b=rPoQ57PeHV9pkVFBDF/tcd/vGYJkTqS75frBNHldBMG+MTG96tsVFSEj8GmDd/efwe OnCSun2uJGpaz52zmw84r8xRFyleP918ViGH90gT0McVPnajc1JWPWMdIz/f0NFr9bUx spN7bmWkXFnOF15Y8hu/OmcofQAAvcfVJAFuHrn+/UD0yiNsLRtqBzliQbEkxDZiun1k FxGn2SeG0+mm/l6Tk45XzrxhsEtt9apexQ2ErNqQeJ4EA4UM9tWgeKPBhbzqs0HuHZGu Hx276amIHv/CYwiVRg/J8qcx6xrgWbWjRFGWHhOMNkT424EPT9dnQi/LH5VY4+KvUXKb jrZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QK+/rMwb2sIhwgFOHwTVHREqgYIMmxWyZlaL0y8FwX8=; b=PihW4sZqFlv+GhSdrv7MI/ULSgy8FQc+Cbd7OU4emAyxRSwOW2KjcWr80nSPtTUpOV vYVSWKO1Gg7HibQQux9TSL00Ou01Oi9izrkStz7iCZg4ZibM/nvsLb/0K+KkQ0fXzB76 VRUKyUt/Wb0hRYxfPz7WNTfv0C/XOfF5R3qg6UHgYO4k24GPo5wVGfpVcnEy1T+VsVk+ sCa4kxinBAW34mZkbR5Y+A9HnX/cjNsW1rbUIEqDxJ+pWD2y1cK8U5gzYtyFjlsiYo9e yzjNUAvTMmNxgzFgKUZ3Ah1KRtw+l7h8fyx+x5SVhxyeDp1Q+nH+gq/NNc/bVQyIJyQX 54DA== X-Gm-Message-State: AODbwcBAzknsXlhFu9IkawQAAn99maWinpQAp0VcOCvICl3h1nu87Gqk OKTrTqm58tC8dA== X-Received: by 10.25.201.145 with SMTP id z139mr3967212lff.172.1495312439838; Sat, 20 May 2017 13:33:59 -0700 (PDT) Received: from erik-mate-1604.lan (90-227-62-61-no75.tbcn.telia.com. [90.227.62.61]) by smtp.gmail.com with ESMTPSA id l185sm1669230lfe.30.2017.05.20.13.33.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 20 May 2017 13:33:59 -0700 (PDT) From: Erik Stromdahl <erik.stromdahl@gmail.com> To: kvalo@qca.qualcomm.com, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Subject: [RFC v2 2/3] ath10k: different fw file names for usb Date: Sat, 20 May 2017 22:33:29 +0200 Message-Id: <1495312410-9937-3-git-send-email-erik.stromdahl@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495312410-9937-1-git-send-email-erik.stromdahl@gmail.com> References: <1495312410-9937-1-git-send-email-erik.stromdahl@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170520_133422_076945_4EE7F0E8 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <ath10k.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/ath10k>, <mailto:ath10k-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/ath10k/> List-Post: <mailto:ath10k@lists.infradead.org> List-Help: <mailto:ath10k-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/ath10k>, <mailto:ath10k-request@lists.infradead.org?subject=subscribe> Cc: Erik Stromdahl <erik.stromdahl@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" <ath10k-bounces@lists.infradead.org> Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index eea111d..46ce263 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -1412,6 +1412,7 @@ static void ath10k_core_get_fw_name(struct ath10k *ar, char *fw_name, { switch (ar->hif.bus) { case ATH10K_BUS_SDIO: + case ATH10K_BUS_USB: scnprintf(fw_name, fw_name_len, "%s-%s-%d.bin", ATH10K_FW_FILE_BASE, ath10k_bus_str(ar->hif.bus), fw_api);
USB firmware will be named in the same way as SDIO files, i.e, the bus type will be added to the firmware file name. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> --- drivers/net/wireless/ath/ath10k/core.c | 1 + 1 file changed, 1 insertion(+)