From patchwork Fri Nov 27 08:37:11 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: 7711801 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8B25B9F1D3 for ; Fri, 27 Nov 2015 08:37:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A6BA9205F9 for ; Fri, 27 Nov 2015 08:37:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DB488205B5 for ; Fri, 27 Nov 2015 08:37:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754155AbbK0Ihe (ORCPT ); Fri, 27 Nov 2015 03:37:34 -0500 Received: from mail-lf0-f48.google.com ([209.85.215.48]:35974 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753982AbbK0Iha (ORCPT ); Fri, 27 Nov 2015 03:37:30 -0500 Received: by lfs39 with SMTP id 39so118583239lfs.3 for ; Fri, 27 Nov 2015 00:37:29 -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=Ck70r5LAo1CuyJHC3GV3ayaQpKbEY3Hr+8lPTNV8IxU=; b=gWjke4x6gmas0z8aII1ENxcRIK1FNKnMLCn6SxnS/+ZFy1Flajuna3F+Sigbq8UN4C V3FKiGPsfJhRhIjVFVjSnCgeYOWqcggyboQ2gp63JirXlw1rWi2fTLhr6KtQpazMee8a ylmaYf41rQME5PyhrobEQXrqXssVvrmkfFrWU= 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=Ck70r5LAo1CuyJHC3GV3ayaQpKbEY3Hr+8lPTNV8IxU=; b=ZfvowUoc9SIVx8+tg7RF2755Y512MoJxFMWiGBHdkP0XAOzGxM+AZD5t3SK3criO8y okBaGYX97SEYwFgLWsoC1Wa+qxA4A6QIZgIRGykJFsIcSKsYVheajQEd/2qhLODL/IW9 ATIC1IFUOyp92NeMUOJvSVYkin16hEOTjHPjlcqUuHbPZ1N+4V6qvYForLy39fijNg0w +6hCt8bjdYt0EdHZzPD/Qh3gBSNgKNd5xzm8P+WTQSol0BmIsedk2tT63SO2Q/mCwOJ0 LrAHcfbl4VhwyqYlgSRd2BJLBsYElqKA5TCZXw80W+/csv/7EWpVzCkokbDOLFlKRvP/ IXpg== X-Gm-Message-State: ALoCoQkbSb0EEJE21bkEN+NYqm+O5uUY33ShtnjSRMuTsSXpZVzrC5aYdzuiDmOQd8c4UrY6yAJxw5wJ/jBH3sBTQHIjnWTOjHbxmqRhaQ6MwavBJdF7WHl76K9/CXR0Wr+INSDzeU/tThLCIsWwmDH7lKJWoOpPgMb7W90faDsumftBARtOJSZvvVDwnbAoukkFZ4gtFQPR X-Received: by 10.25.90.195 with SMTP id o186mr19954994lfb.9.1448613448963; Fri, 27 Nov 2015 00:37:28 -0800 (PST) Received: from localhost.localdomain ([91.198.246.8]) by smtp.gmail.com with ESMTPSA id l128sm4838004lfe.27.2015.11.27.00.37.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Nov 2015 00:37:28 -0800 (PST) From: Janusz Dziedzic To: linux-wireless@vger.kernel.org Cc: ath9k-devel@lists.ath9k.org, nbd@openwrt.org, Janusz Dziedzic Subject: [PATCH v2 06/13] ath9k: setup correct skb priority for nullfunc Date: Fri, 27 Nov 2015 09:37:11 +0100 Message-Id: <1448613438-5173-6-git-send-email-janusz.dziedzic@tieto.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448613438-5173-1-git-send-email-janusz.dziedzic@tieto.com> References: <1448613438-5173-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=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,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 28bbbef..2afb8da 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);