Skip to content
Commit a5ae3264 authored by Erik Stromdahl's avatar Erik Stromdahl Committed by Johannes Berg
Browse files

mac80211: fix issue with possible txq NULL pointer



Drivers that do not have the BUFF_MMPDU_TXQ flag set will not have a
TXQ for the special TID = 16.

In this case, the last member in the *struct ieee80211_sta* txq array
will be NULL.

We must check this in order not to get a NULL pointer dereference when
iterating the txq array.

Signed-off-by: default avatarErik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 67626964
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment