diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-02-21 10:45:45 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-02-21 12:11:39 +0100 |
commit | ca98c47d54d76d2c3f59f8f66530362562914b6b (patch) | |
tree | 2bdc647769574250dc34fb40b95b4e9cec282de8 /sound/core | |
parent | 3ee9306b353bdd0c0cd7cd3a549233e1ad44b608 (diff) | |
download | linux-ca98c47d54d76d2c3f59f8f66530362562914b6b.tar.bz2 |
mac80211: check vif pointer before airtime calculation
In case of monitor mode injection, vif may be NULL, don't crash
on that in ieee80211_calc_expected_tx_airtime().
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/r/20200221104544.dddb7a3568fd.I0ede2733a3c76e95daeab07538449ea847e7b78d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions