diff options
| author | Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> | 2020-02-03 10:56:50 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-11 07:51:12 +0100 |
| commit | ce20579db0c2e96ba0b68af5239b5d6f4894fa93 (patch) | |
| tree | e052ec49dc452b5842968a657971e9695be51e30 /scripts/objdiff | |
| parent | 1b5e99bd37f0a12733dd8448db3444bab6272e67 (diff) | |
cfg80211: check wiphy driver existence for drvinfo report
[ Upstream commit bfb7bac3a8f47100ebe7961bd14e924c96e21ca7 ]
When preparing ethtool drvinfo, check if wiphy driver is defined
before dereferencing it. Driver may not exist, e.g. if wiphy is
attached to a virtual platform device.
Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Link: https://lore.kernel.org/r/20200203105644.28875-1-sergey.matyukevich.os@quantenna.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
