aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mt76/patches/110-api_update.patch
blob: a42277704e79b3d56be3ac3a3c02bec33f68a402 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/tx.c
+++ b/tx.c
@@ -326,7 +326,7 @@ mt76_tx(struct mt76_phy *phy, struct iee
 	if ((dev->drv->drv_flags & MT_DRV_HW_MGMT_TXQ) &&
 	    !(info->flags & IEEE80211_TX_CTL_HW_80211_ENCAP) &&
 	    !ieee80211_is_data(hdr->frame_control) &&
-	    !ieee80211_is_bufferable_mmpdu(hdr->frame_control)) {
+	    !ieee80211_is_bufferable_mmpdu(skb)) {
 		qid = MT_TXQ_PSD;
 		skb_set_queue_mapping(skb, qid);
 	}