[net80211] Treat frames without an rx status as not a decap'ed A-MSDU.

Drivers for NICs which do A-MSDU decap in hardware / driver will need to
set the rx status, so if it's missing then treat it as not a decap'ed
A-MSDU.
This commit is contained in:
Adrian Chadd 2020-06-14 00:23:06 +00:00
parent 1209ded2e1
commit e9efad4f9e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362162

View File

@ -136,7 +136,8 @@ ishtinfooui(const uint8_t *frm)
static __inline int
ieee80211_check_rxseq_amsdu(const struct ieee80211_rx_stats *rxs)
{
if (rxs == NULL)
return 0;
return (!! (rxs->c_pktflags & IEEE80211_RX_F_AMSDU));
}