OSDN Git Service

iwlwifi: dvm: 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:49:29 +0000 (13:49 +0300)
commit5bd166872d8f99f156fac191299d24f828bb2348
tree4a5b37259da7ad250a612976ed7fcd8d469e79bc
parent6645d5e441db9121793421d477255f4242b3dbf3
iwlwifi: dvm: 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/dvm/lib.c