From patchwork Thu Nov 12 13:15:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz.Dziedzic@tieto.com X-Patchwork-Id: 7602221 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6E553BF90C for ; Thu, 12 Nov 2015 13:16:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9CEF920737 for ; Thu, 12 Nov 2015 13:16:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C24FE20434 for ; Thu, 12 Nov 2015 13:16:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753051AbbKLNQU (ORCPT ); Thu, 12 Nov 2015 08:16:20 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:33221 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752643AbbKLNQS (ORCPT ); Thu, 12 Nov 2015 08:16:18 -0500 Received: by lbbkw15 with SMTP id kw15so34771820lbb.0 for ; Thu, 12 Nov 2015 05:16:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4Ns7VpFbqveMitaLe65PZ7b6dZUD6PjxRp8CFfPJhAE=; b=QGEqEFtufY8jxyNdGFmL28MyQY2bEpWqe53og/ZhI+ZAhCTGk78hnipzwh/lNB4MDZ +QnoorBXRVoV7fnYpkLx2DJuQy/o/yL02Q95Ewtc9Hkhk1W7MSa67GvyFTt1TdH3xl0K iNXBdBjXSV9FOaAlg+bQw4nWs3XoN/r67B7DE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4Ns7VpFbqveMitaLe65PZ7b6dZUD6PjxRp8CFfPJhAE=; b=Lz2J6RIzoWogHbEnp5+qkgp0blXaZS/YqojnwkpgTDFnQgmyUmv9zh/MSRfa6fdFOB A8Y0QyOSHtNuTJoAXxAPxtAz5Jic/wS/VEKS/19eA/oJdZw9X553t+5EcxTFDd3hPnvR DoLwfhKNAd5kmWg4s/gfB0MpUeGoCC9WetrtvjQKLtsNnxwPSv4I7nuZp0gb0Ok+KTem Eka5Xh8LCICC+jzp8L8/KNCgS6+Tm4OKNcy1sxQEQN65413TNZdVvjRx0Yssq+0n8fkk lXJJrKkuhGfex3QTfHM1vU9DtUvHoNAfg9Xraz6SGfK6KrAei+byhV/6cHoltwaFP+LF mD2w== X-Gm-Message-State: ALoCoQlXiR8P+5NdDRbdE65iVBjBYZ825eh5E82bTJ4aa5IkTgucxy1YWF4Qvt9FSH+/Zg6NgehVql/6M5LlfA9lXjG9XQrnhaZM8yMKkthy3CffzyM43bkx7voUs/Vz2ZtNLtltAE1D5d4hjrH3LFSVz5NE8QuWureES2wzia/eazFxbzMk6lcSCdczHQG1Klf4lf7DQ0aV X-Received: by 10.112.119.133 with SMTP id ku5mr7141270lbb.1.1447334176933; Thu, 12 Nov 2015 05:16:16 -0800 (PST) Received: from localhost.localdomain ([91.198.246.8]) by smtp.gmail.com with ESMTPSA id i7sm2251430lbo.39.2015.11.12.05.16.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Nov 2015 05:16:15 -0800 (PST) From: Janusz Dziedzic To: linux-wireless@vger.kernel.org Cc: ath9k-devel@lists.ath9k.org, Janusz Dziedzic Subject: [PATCH 06/12] ath9k: setup correct skb priority for nullfunc Date: Thu, 12 Nov 2015 14:15:43 +0100 Message-Id: <1447334149-15507-6-git-send-email-janusz.dziedzic@tieto.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1447334149-15507-1-git-send-email-janusz.dziedzic@tieto.com> References: <1447334149-15507-1-git-send-email-janusz.dziedzic@tieto.com> X-DomainID: tieto.com Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP After queue nullfunc for MCC case, we hit WARN_ON in xmit.c:2398 while skb priority wasn't set. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c index d86566b..4f60ddb 100644 --- a/drivers/net/wireless/ath/ath9k/channel.c +++ b/drivers/net/wireless/ath/ath9k/channel.c @@ -1101,6 +1101,7 @@ ath_chanctx_send_vif_ps_frame(struct ath_softc *sc, struct ath_vif *avp, nullfunc->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); + skb->priority = 7; skb_set_queue_mapping(skb, IEEE80211_AC_VO); if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, &sta)) { dev_kfree_skb_any(skb);