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)
commit2cf5eb3ab7bb7f2e3a70edcef236cd62c87db030
treed9bb3700292c37e58a47a911b91d206c7c79571a
parent5bd166872d8f99f156fac191299d24f828bb2348
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