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: 9955019 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 599B3603F2 for ; Sun, 17 Sep 2017 19:40:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E3B928A8D for ; Sun, 17 Sep 2017 19:40:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 432B528AE8; Sun, 17 Sep 2017 19:40:43 +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=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 090BD28A8D for ; Sun, 17 Sep 2017 19:40:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751686AbdIQTkm (ORCPT ); Sun, 17 Sep 2017 15:40:42 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:35876 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbdIQTke (ORCPT ); Sun, 17 Sep 2017 15:40:34 -0400 Received: by mail-lf0-f66.google.com with SMTP id l196so3535742lfl.3 for ; Sun, 17 Sep 2017 12:40:33 -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=Gw99y3dBEbRs8VqdcRa1T3DeFlUYro1U4w2VKz3RDH8H22eCk6o0k/vLdMnQYjy7xs K3aDU09ZZcIS9zQu4AEsLBeL/QL/SG4LKa6uBJlimaNjBWH8fErHu1s07bIA0Fq1kRcJ ULJrvOm7xumZEGVKH+qbAJJ6MYcv+pTg1gnkdvF4joq6rbL4UgN6fU3SrMYuo5HZvsC5 O4m7tP1iKr/w7ngvtH+fpCzeY6Gj0Cr0rYyCxcNDfKtoZ07rjNAdCFT119wXp0hT7zpn EmlYgBln/mVG7Fr8yaZVHLU1x4VRiCrYSgeKYtGWq3GaW5W3Wa1Yh9uJvdGiMK//e9i1 uZJg== X-Gm-Message-State: AHPjjUhWJMaoLaIC/VHmeYPJdWWz+9xGZyoQytLKHGZK6xBhE1+u6NIA 8uX69YGKzWHWlA== 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 Cc: Erik Stromdahl 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> 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 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; }