[RFC PATCH 2/4] mac80211: minstrel_ht: fix minstrel_aggr_check for encap offload

Johannes Berg johannes at sipsolutions.net
Tue May 25 06:00:39 PDT 2021


On Thu, 2021-05-20 at 03:56 +0800, Ryder Lee wrote:
> 
> +	if (!(info->flags & IEEE80211_TX_CTL_HW_80211_ENCAP) &&
> +	    unlikely(!ieee80211_is_data_qos(hdr->frame_control)))
>  		return;

That unlikely() placement seems odd?

johannes




More information about the Linux-mediatek mailing list