]> git.baikalelectronics.ru Git - kernel.git/commit
iwlegacy: don't mess up the SCD when removing a key
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 4 Jul 2012 11:59:08 +0000 (13:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 19:01:03 +0000 (15:01 -0400)
commitab5afef3b737a1e64f1afce93aad1f0f1a9dadc8
treebc2bff971eeb48d25c3398c0af586da62e395bb2
parented175f4459b630b37d75ee4456383806d01c5fe2
iwlegacy: don't mess up the SCD when removing a key

When we remove a key, we put a key index which was supposed
to tell the fw that we are actually removing the key. But
instead the fw took that index as a valid index and messed
up the SRAM of the device.

This memory corruption on the device mangled the data of
the SCD. The impact on the user is that SCD queue 2 got
stuck after having removed keys.

Reported-by: Paul Bolle <pebolle@tiscali.nl>
Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/4965-mac.c