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
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