From: Janusz Dziedzic Date: Fri, 27 Nov 2015 08:37:11 +0000 (+0100) Subject: ath9k: setup correct skb priority for nullfunc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c1b7bea038f00e710e738d8a8a76dc87ceb013f8;p=linux-beck.git ath9k: setup correct skb priority for nullfunc 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c index 28bbbef7cabd..2afb8dabf39a 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);