From patchwork Sun Sep 17 19:40:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erik Stromdahl X-Patchwork-Id: 9955041 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 64DFF6028A for ; Sun, 17 Sep 2017 19:41:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58C1428A6E for ; Sun, 17 Sep 2017 19:41:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4DD0828A8D; Sun, 17 Sep 2017 19:41:36 +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 0066628A6E for ; Sun, 17 Sep 2017 19:41:34 +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=QJ7USvkkxzCSaIG0LHUtNuhNYB51/bbdaPQb8ecvy9w=; b=p9YA5s7Csr57FoX26nU9/eHb/0 N0CDx0Dc+Cr8RehZvEcJ4Syku3IVs61Lb5ev5LXCql2OKAhRotb7IH/VbX80yras7NGeIpdpWP8cD uQzJ2uRO2tFcVZdwSvL1g+YAZ0e/nxbVx1zvt0kThxPvTL54JyL4kFhVYoVGUYP38wY+EjSZxILqK ePG0w+JIQrQhUvLLlEWccfOUP7GgCXgNmt8Ci8u1eGvL7FI2YD5AOdvXVoHU5hpvRY6AXKlodCLMN 02BjySxsaIn0DArKWpdKe7x+27TCV78nWEl4cBx/JUc4ldOmfqho0Tj/S0OQklG3kRk8Ex//0x8Bd opNeyJuw==; 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 1dtfRZ-0000T6-28; Sun, 17 Sep 2017 19:41:29 +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 1dtfQw-0008Jd-6J for ath10k@lists.infradead.org; Sun, 17 Sep 2017 19:40:55 +0000 Received: by mail-lf0-x243.google.com with SMTP id y15so3543601lfd.0 for ; Sun, 17 Sep 2017 12:40:34 -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=vROY5y3PEdqpx+8oqYRUOZHVjjgczdpyQkVB1dJucQs=; b=fq1VPalIfPFjwuNFpw5x0Ro5VOlLaeTYhOsN/C716FNsHY/gOLjeJTZbrigJJl4YrS W6AIqfiXTkWyDyl9o24Xou5Ay00UHoLuIjM3nEaev7Pt6JO8OwHjO9Wo2Ggy++yLSnfD QdmF6USg/xE5AkCQQ5n0LPzddfKsS5ZqOQPpUEjiGZwpP/O9vdEv3fE2nUKxRLNn+efk w+bm8cPbqJmlBdCIozPuTlkR9JUGVHOJzx3yqv0llZwQqiDAzZHy9vQs1AsZLuyFuH6G D8pUNPeRcmK7JntW6vT5FuE1s+g/xUzCSLyxTMOXGXnjanKhMOx3d2BMcuBbZWvbIdps c5Ew== 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=vROY5y3PEdqpx+8oqYRUOZHVjjgczdpyQkVB1dJucQs=; b=pGvlMO7ZCSuIyjq+Mfhbw7zLRHcVTG1YfV2TaPKM92jy8wTu9D/ZXeJ21LUG8hjBxG wOoPuBVjPEeFja/kZ7CZpgPo6VP4KaCtgA3UmD3ninmI+94eAjQWpRZsrEdVmuRopJyd FyNKWEsFodw5U9qFagAS9Wc/nfH1s7WowHqD23zNSR0Ua0HUhFwmNKyqGklqFXfFJJeL sfKgl7W0n0SFDZ2UX9X4d47zRG/0+sWgg6Fh3ke+eAeMVY53CNWPDAT2Z6NN4g1P9i0H /rB+PAczsBPJutEyHtcewpvh4VhrBpQDhrLQMcV6ibrygJex7LGPOPTojUlOr0I0LfL8 WX9w== X-Gm-Message-State: AHPjjUg06PVRAdgregQO7g4C4TsmYvYaGWSaU8cSuHSZa3iJ5xB+I0D1 YuqsaxpUE5k8Amv0 X-Google-Smtp-Source: AOwi7QDfwr28jZ6kW+EhQAZeSXJudCvv1CK5HtrH/1DlJyJu138nk6jfCWPgRecYO8Rbr4+DN9b3SA== X-Received: by 10.25.18.38 with SMTP id h38mr2853435lfi.73.1505677232746; Sun, 17 Sep 2017 12:40:32 -0700 (PDT) Received: from erik-arch-i5-6600.lan (90-227-62-61-no75.tbcn.telia.com. [90.227.62.61]) by smtp.gmail.com with ESMTPSA id 1sm1452879ljo.13.2017.09.17.12.40.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Sep 2017 12:40:32 -0700 (PDT) From: Erik Stromdahl To: kvalo@qca.qualcomm.com, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Subject: [RFC v3 10/11] ath10k: wmi: disable softirq's while calling ieee80211_rx Date: Sun, 17 Sep 2017 21:40:12 +0200 Message-Id: <20170917194013.8658-11-erik.stromdahl@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170917194013.8658-1-erik.stromdahl@gmail.com> References: <20170917194013.8658-1-erik.stromdahl@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170917_124050_579959_163003E9 X-CRM114-Status: UNSURE ( 6.71 ) 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/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 38a97086708b..10bb5be6ab00 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c @@ -2408,7 +2408,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; }