From patchwork Thu Dec 28 19:06:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erik Stromdahl X-Patchwork-Id: 10135795 Return-Path: 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 BA60A6020A for ; Thu, 28 Dec 2017 19:08:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABDC52D901 for ; Thu, 28 Dec 2017 19:08:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0CBF2D930; Thu, 28 Dec 2017 19:08:10 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED 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 6B26E2D901 for ; Thu, 28 Dec 2017 19:08:10 +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=SYIRJsbAsHVy4mz3W0la9GFoIGk2R+Yu55NH6umsFok=; b=YwFZGTuyVp8c8Li/gWM1YjyI6a KINDm+C/173QaOVIUs9O8OTQ7cDrtlXpe2FrlB1pagGFBoNVxx38FBGWaCDqhxukvl/YS/qO5EQ/P XmhVaSrqQGrCl6YijmhxmU6cPR4vsTm8T2MblJtQj7KqjGiEPCkvhDawenDfy/HB8bV8AotZF5YAP YXHwCII4cozk9w9TsVf3kMCO32rXfuUT9uumuAepv9/ipzKJr901r4Y+AJedWXKNUCC80r/e9xIpi nyYlWhY7576LHORhcLgff8MYEvm4Hs5iqNYMFeI1qcRVOhX23iGHeHh2MR7mGGJ6Oovhh7cKoGL0z KONHGa4Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eUdX7-0005p0-RV; Thu, 28 Dec 2017 19:08:01 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eUdX1-0005mU-UU for ath10k@lists.infradead.org; Thu, 28 Dec 2017 19:07:57 +0000 Received: by mail-lf0-x241.google.com with SMTP id u84so26196489lff.7 for ; Thu, 28 Dec 2017 11:07:47 -0800 (PST) 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=+kuQElBd4IHhug9gDvg4048n8Oer8SfUKv2QQzA2p24=; b=rUc5w9qjV5UeOawclAtlkVJAqqkaRAOYLWpboamQ0i9Rqkjzp7tYOWvJaeqAU68qH4 EhFUnW/7KUeE3ZWSJXhn8D5OdquA2S95Y31YIi8WPvNIBMN2aUki+EQJ414KnGg77Fi4 wrBfdpxsLVZWhcK1kpDh+5aoxz3eCXCCtXw/9EVKiU3KnJBWhMTmBdw8Bk+mUhHInQee vBGCudyD26rH7IOHlbLSKnsyRp7zI5+W4Nys8mOrGogVaXM5dbQaXxBHuY8xjxrz/7d6 Az3s4w81+GM2ohDADFUD0n+B5N5hMXVXVZtsrCjfCGDepE1LhLbHYyqrqhv8u2eElG+0 6PcQ== 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=+kuQElBd4IHhug9gDvg4048n8Oer8SfUKv2QQzA2p24=; b=auayQk5gjKyMVE1P+Xu/wWzCFK8iC2LJYRo/fUmTJCIWPvil4J0Yb1qo8QTtXZolrk GXZ9oLyNkPX/kSTWQZWKvdoD4xBwU+aEQ/noijOPBq2WraURcDdxEn3YbnQ5p1ONS0lt WJE1M3O2PWMitKgwLnpcn6X0CAMtHheBNp2NjPNOgAYIcYHmPd7SBx4waet4cmBklsBU LR4JyVnImZS+XYLOFCPjRkXApXgiQS93VYbo3qgyEJ+knMfHPUX5A86avsiV5fUls/SL sISCLWSBXTiYvmrNNi9M8cYLyJGig/OutPpF1nFZsRQG7+4V4G7UIZLt3R1G0eecUmxq PwrQ== X-Gm-Message-State: AKGB3mJRDqPxdq2JzyGY2TPLvkgTBAekrprzxJ7DoAGmM2l7rulg10Pt nCGVwL0pmIy6//88XT8WuhY= X-Google-Smtp-Source: ACJfBouMirDskKiA86QHjKFqIHGdjA2imPzGTpgAAndITvR5KzV573cQ44Ta5TEeq2vrnEISfZuspw== X-Received: by 10.46.4.207 with SMTP id a76mr19271916ljf.6.1514488065930; Thu, 28 Dec 2017 11:07:45 -0800 (PST) Received: from localhost.localdomain (90-227-62-61-no75.tbcn.telia.com. [90.227.62.61]) by smtp.gmail.com with ESMTPSA id b25sm6850493lje.14.2017.12.28.11.07.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Dec 2017 11:07:45 -0800 (PST) From: Erik Stromdahl To: kvalo@qca.qualcomm.com, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Subject: [PATCH 3/3] ath10k: bugfix: add USB case in ath10k_core_probe_fw Date: Thu, 28 Dec 2017 20:06:45 +0100 Message-Id: <20171228190645.25773-4-erik.stromdahl@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171228190645.25773-1-erik.stromdahl@gmail.com> References: <20171228190645.25773-1-erik.stromdahl@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171228_110756_040528_88A6BC7A X-CRM114-Status: UNSURE ( 7.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Stromdahl MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Erik Stromdahl --- drivers/net/wireless/ath/ath10k/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 51444d34a06c..fe9341c97f31 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -2427,6 +2427,7 @@ static int ath10k_core_probe_fw(struct ath10k *ar) break; case ATH10K_BUS_PCI: case ATH10K_BUS_AHB: + case ATH10K_BUS_USB: memset(&target_info, 0, sizeof(target_info)); ret = ath10k_bmi_get_target_info(ar, &target_info); if (ret) {