]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix D3 firmware PN programming
authorJohannes Berg <johannes.berg@intel.com>
Tue, 15 Sep 2015 12:36:09 +0000 (14:36 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Oct 2015 10:50:20 +0000 (13:50 +0300)
commit92a0accc04acbe285bfe5f32d562ac962ee346e7
treed9bb3700292c37e58a47a911b91d206c7c79571a
parentcccac62c91385ba7a7c15a2ae1613b4146ef377c
iwlwifi: mvm: fix D3 firmware PN programming

The code to send the RX PN data (for each TID) to the firmware
has a devastating bug: it overwrites the data for TID 0 with
all the TID data, leaving the remaining TIDs zeroed. This will
allow replays to actually be accepted by the firmware, which
could allow waking up the system.

Cc: <stable@vger.kernel.org> [3.1+]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/d3.c