diff options
author | Colin Ian King <[email protected]> | 2019-07-30 15:32:05 +0100 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2019-07-31 10:51:17 +0200 |
commit | f12cac539fe07fe410f2776993e85d343c665141 (patch) | |
tree | 1875465fcc0219a4e5beeebe5a65cece5c985af6 /tools/perf/scripts/python | |
parent | 2ab45876756fb6c132ae801b0939e0474f84c426 (diff) |
mac80211: add missing null return check from call to ieee80211_get_sband
The return from ieee80211_get_sband can potentially be a null pointer, so
it seems prudent to add a null check to avoid a null pointer dereference
on sband.
Addresses-Coverity: ("Dereference null return")
Fixes: 2ab45876756f ("mac80211: add support for the ADDBA extension element")
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions