Stanislaw Gruszka deee0214de 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: stable@vger.kernel.org
Reported-and-tested-by: <dolohow@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-08-06 14:29:58 -04:00
..
2012-06-20 14:41:49 -04:00
2012-06-20 14:41:49 -04:00
2012-06-06 15:18:18 -04:00
2011-03-31 11:26:23 -03:00
2012-02-27 14:05:44 -05:00
2012-06-06 15:18:18 -04:00
2012-06-20 14:41:49 -04:00
2012-07-11 15:38:27 -04:00
2012-07-11 15:38:27 -04:00
2012-07-11 15:38:27 -04:00
2012-07-16 22:38:28 -07:00
2012-07-16 22:38:28 -07:00
2012-07-16 22:38:28 -07:00
2012-07-16 22:38:28 -07:00
2012-06-20 14:41:49 -04:00
2012-06-20 14:41:49 -04:00