Erik Stromdahl a5ae326418 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: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2018-10-02 09:56:29 +02:00
..
2018-06-18 22:40:32 +02:00
2018-06-18 22:40:32 +02:00
2018-06-12 16:19:22 -07:00
2017-02-10 14:31:51 -05:00
2018-06-18 22:40:32 +02:00
2018-09-05 10:03:14 +02:00
2018-09-05 10:15:48 +02:00
2018-06-18 22:40:32 +02:00
2018-09-05 10:03:14 +02:00
2018-02-22 21:13:03 +01:00
2014-04-09 14:49:43 +02:00
2018-09-05 10:08:42 +02:00
2018-06-30 21:08:12 +09:00
2018-06-18 22:40:32 +02:00
2018-06-18 22:40:32 +02:00
2012-03-13 14:54:16 -04:00
2018-02-22 21:13:03 +01:00