diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-01-13 12:53:59 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-01-15 09:53:24 +0100 |
commit | 24953de0a5e31dcca7e82c8a3c79abc2dfe8fb6e (patch) | |
tree | e982f4ab3d8e7de4eec2ae3bcc4379ba5bcb0eb8 /net/wireless/util.c | |
parent | cfg80211: fix memory leak in cfg80211_cqm_rssi_update (diff) | |
download | linux-dev-24953de0a5e31dcca7e82c8a3c79abc2dfe8fb6e.tar.xz linux-dev-24953de0a5e31dcca7e82c8a3c79abc2dfe8fb6e.zip |
cfg80211: check for set_wiphy_params
Check if set_wiphy_params is assigned and return an error if not,
some drivers (e.g. virt_wifi where syzbot reported it) don't have
it.
Reported-by: syzbot+e8a797964a4180eb57d5@syzkaller.appspotmail.com
Reported-by: syzbot+34b582cf32c1db008f8e@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200113125358.ac07f276efff.Ibd85ee1b12e47b9efb00a2adc5cd3fac50da791a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/util.c')
0 files changed, 0 insertions, 0 deletions