From patchwork Mon Jun 12 15:03:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erik Stromdahl X-Patchwork-Id: 9781315 X-Patchwork-Delegate: kvalo@adurom.com 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 18CE460212 for ; Mon, 12 Jun 2017 15:03:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05E2626E51 for ; Mon, 12 Jun 2017 15:03:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EED7428633; Mon, 12 Jun 2017 15:03:33 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEA3A26E51 for ; Mon, 12 Jun 2017 15:03:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752544AbdFLPDd (ORCPT ); Mon, 12 Jun 2017 11:03:33 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:35591 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752525AbdFLPDa (ORCPT ); Mon, 12 Jun 2017 11:03:30 -0400 Received: by mail-lf0-f66.google.com with SMTP id v20so9680024lfa.2 for ; Mon, 12 Jun 2017 08:03:29 -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=zh0RLKUBNKjFnwDtxunKyMd+VtY/qlAoUpcrrISKJDg=; b=J50vmQpB6OWpDEQbETWfcJZyyRdlQKGQdwErZg0e8vnJ0UQ2rcSmIBxFrdnvLskFOs dW7jeWpYfI+gBXqLEeRrO1RdhaM+Ez154KywIvbndm//6rXhije4ZYO5sJULwYjrUZXH 1evwaMQ8soCU9KUtyzPDx6N3Mif0o8f7oe7A0vpWrpfkqZPmQMPEm26T1Gbc6dWTxLGU t0kBfXRpjI0NzyrjdHbjXjsLbs3LtV3UBzDsNj7Br9027UZzT1Ro39a5WS3Ux6AvVDQI Y3q5VEcihsCBTT7RKXSGYNjPx5uVNEVu6oYuY1Frr5bjw/noXey0Z+Xgx8yeWyBzH7CZ 6mfw== 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=zh0RLKUBNKjFnwDtxunKyMd+VtY/qlAoUpcrrISKJDg=; b=jtHSYz9TQuLTw3HXtzIULZGc7CiBFsntQA7QN2bsHBiPsQphwjQGWiVw9mXnWlVIvV dZZwXzEmH4mz7L+QqlJBk3y/K80mt9WkuohJt5dd1ibOL/fS5V89kyOmCzOBcekre7IF LefAaRFzsrMyRgv0vzBLRIPneBtz47hRQKxQoBUL9l1Y4Lw5QrVDfsr/EfetTMMFmZTm SjqL/+Pd3CFth5grRZ9/i2M/0z6cL0RJ6A7oa7CKj3KYKli6UtCZ3hlkNb4DH1oufQIX kPemRMTEytm74q7tsruox/uaXSWbcQVsQ6whxP8gNwyUhLrR3jayAv98lYcdruPU8stn 6Z2A== X-Gm-Message-State: AODbwcDk2ySLNuQQ2AjHIk2VYL1kmCrdlSTdbXEElBOVIcuTXUPCzp0q ksNFv17CnOZ90BuP X-Received: by 10.25.92.208 with SMTP id u77mr15074071lfi.69.1497279808794; Mon, 12 Jun 2017 08:03:28 -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 n71sm2709253lje.14.2017.06.12.08.03.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Jun 2017 08:03:28 -0700 (PDT) From: Erik Stromdahl To: kvalo@qca.qualcomm.com, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Cc: Erik Stromdahl Subject: [RFC v2 10/10] ath10k: wmi: disable softirq's while calling ieee80211_rx Date: Mon, 12 Jun 2017 17:03:11 +0200 Message-Id: <1497279791-9598-11-git-send-email-erik.stromdahl@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497279791-9598-1-git-send-email-erik.stromdahl@gmail.com> References: <1497279791-9598-1-git-send-email-erik.stromdahl@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Erik Stromdahl --- drivers/net/wireless/ath/ath10k/wmi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index 472b42b..d5d0d5c 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c @@ -2383,7 +2383,10 @@ int ath10k_wmi_event_mgmt_rx(struct ath10k *ar, struct sk_buff *skb) status->freq, status->band, status->signal, status->rate_idx); + local_bh_disable(); ieee80211_rx(ar->hw, skb); + local_bh_enable(); + return 0; }