diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-09-15 07:58:53 (GMT) |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2015-10-05 10:48:36 (GMT) |
commit | 6645d5e441db9121793421d477255f4242b3dbf3 (patch) | |
tree | 10786bfca5ae0443ab4c7fcd36e27c4270f186a6 /mm/cma_debug.c | |
parent | dd5cdb48edfd34401799056a9acf61078d773f90 (diff) | |
download | linux-6645d5e441db9121793421d477255f4242b3dbf3.tar.xz |
iwlwifi: mvm: fix D3 CCMP TX PN assignment
When going into/coming out of D3, the TX PN must be programmed into
and restored from the firmware respectively. The restore was broken
due to my previous commit to move PN assignment into the driver.
Sending the PN to the firmware still worked since we now use the
counter that's shared with mac80211, but accessing it through the
mac80211 API makes no sense now.
Fix this by reading/writing the counter directly. This actually
simplifies the code since we don't need to round-trip through the
key_seq structure.
Fixes: ca8c0f4bede6 ("iwlwifi: mvm: move TX PN assignment for CCMP to the driver")
Cc: <stable@vger.kernel.org> [4.1+]
Reported-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'mm/cma_debug.c')
0 files changed, 0 insertions, 0 deletions