diff options
| author | Luca Coelho <[email protected]> | 2015-11-10 23:06:17 +0000 |
|---|---|---|
| committer | Emmanuel Grumbach <[email protected]> | 2015-12-20 21:27:38 +0000 |
| commit | 9c3deeb51b664db183e00688caf8da2a096d16e5 (patch) | |
| tree | 1d92ffe4845e82f85f3a89fbef6bf2ce21052c21 /drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | |
| parent | iwlwifi: 9000: increase the number of queues (diff) | |
| download | kernel-9c3deeb51b664db183e00688caf8da2a096d16e5.tar.gz kernel-9c3deeb51b664db183e00688caf8da2a096d16e5.zip | |
iwlwifi: mvm: refactor the way fw_key_table is handled
Instead of keeping the fw_key_table bits set when the keys are removed
(i.e. in D3 entry or HW_RESTART flows), clear them and set them again
only when the keys have been successfully re-added. This makes the
bitmask more closely tied to the actual firmware programming.
Signed-off-by: Luca Coelho <[email protected]>
Signed-off-by: Emmanuel Grumbach <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c')
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c index d239e97ab98a..be5703c44c22 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c @@ -984,6 +984,7 @@ static void iwl_mvm_restart_cleanup(struct iwl_mvm *mvm) mvm->d0i3_ap_sta_id = IWL_MVM_STATION_COUNT; iwl_mvm_reset_phy_ctxts(mvm); + memset(mvm->fw_key_table, 0, sizeof(mvm->fw_key_table)); memset(mvm->sta_drained, 0, sizeof(mvm->sta_drained)); memset(mvm->tfd_drained, 0, sizeof(mvm->tfd_drained)); memset(&mvm->last_bt_notif, 0, sizeof(mvm->last_bt_notif)); |
