[ 23/37] rt61pci: fix NULL pointer dereference in config_lna_gain

2012-08-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit deee0214def5d8a32b8112f11d9c2b1696e9c0cb upstream. We can not pass NULL libconf->conf->channel to rt61pci_config() as it is dereferenced unconditionally in

[ 23/37] rt61pci: fix NULL pointer dereference in config_lna_gain

2012-08-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka sgrus...@redhat.com commit deee0214def5d8a32b8112f11d9c2b1696e9c0cb upstream. We can not pass NULL libconf-conf-channel to rt61pci_config() as it is dereferenced