diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-08-03 12:49:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-15 08:10:34 -0700 |
commit | 8f3ce224466a1cf867c13cb01c3fac799aeab074 (patch) | |
tree | 80e33ad67d5291eb3551fb09b7e717453e7483eb /include/asm-sh/device.h | |
parent | 117b7f7c36e2e64d36e80d9aeadc2deff5007a3e (diff) |
rt61pci: fix NULL pointer dereference in config_lna_gain
commit deee0214def5d8a32b8112f11d9c2b1696e9c0cb upstream.
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
Reported-and-tested-by: <dolohow@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/asm-sh/device.h')
0 files changed, 0 insertions, 0 deletions