[net80211] don't try to follow a NULL rxs pointer down the sink.
It's smelly, and we already checked earlier whether we needed to.
This commit is contained in:
parent
1caf34f3f3
commit
5ff550eae1
@ -278,7 +278,7 @@ ok:
|
||||
*/
|
||||
if (ieee80211_check_rxseq_amsdu_more(rxs)) {
|
||||
ni->ni_rxseqs[tid] = rxseq;
|
||||
if (ieee80211_check_rxseq_amsdu(rxs))
|
||||
if ((rxs != NULL) && ieee80211_check_rxseq_amsdu(rxs))
|
||||
IEEE80211_NODE_STAT(ni, rx_amsdu_more_end);
|
||||
} else {
|
||||
/* .. still waiting */
|
||||
|
Loading…
x
Reference in New Issue
Block a user