]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: fix priv->cfg->ht_params NULL pointer dereference
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 12 Oct 2011 08:16:35 +0000 (10:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Oct 2011 18:48:16 +0000 (14:48 -0400)
commitca3b78f5d0bf64dbbfffb876dc1e4cd230098d80
treea53c6939653d75a72ac1c6cac5d6b1ab5f4f8de2
parent2158fd27d373b9fb6b9cee413f314b8b9275534c
iwlagn: fix priv->cfg->ht_params NULL pointer dereference

This fix regression introduced by commit:

commit d055d891c5109a40e84f976da48f409ed2875df7
Author: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Date:   Fri Jun 3 07:54:13 2011 -0700

    iwlagn: set smps mode after assoc for 1000 device

Also remove unneeded brackets on the way.

Address:
https://bugzilla.redhat.com/show_bug.cgi?id=744155

Cc: stable@kernel.org # 3.1+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c