diff options
author | Stanislaw Gruszka <[email protected]> | 2012-08-03 12:49:14 +0200 |
---|---|---|
committer | John W. Linville <[email protected]> | 2012-08-06 14:29:58 -0400 |
commit | deee0214def5d8a32b8112f11d9c2b1696e9c0cb (patch) | |
tree | c2d7fb7f18602b0b48c2d467976b53fde21d1c98 /tools/perf/util/trace-event-scripting.c | |
parent | 1f6fc43e621167492ed4b7f3b4269c584c3d6ccc (diff) |
rt61pci: fix NULL pointer dereference in config_lna_gain
We can not pass NULL libconf->conf->channel to rt61pci_config() as it
is dereferenced unconditionally in rt61pci_config_lna_gain() subroutine.
Resolves:
https://bugzilla.kernel.org/show_bug.cgi?id=44361
Cc: [email protected]
Reported-and-tested-by: <[email protected]>
Signed-off-by: Stanislaw Gruszka <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions