projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7e6469
)
iwlwifi: mvm: Do not sample the device time for session protection
author
Ilan Peer
<
[email protected]
>
Wed, 24 Jun 2015 07:25:26 +0000
(10:25 +0300)
committer
Emmanuel Grumbach
<
[email protected]
>
Tue, 4 Aug 2015 07:11:42 +0000
(10:11 +0300)
Since the time-event is sent with the immediate flag set, there is
no need to sample the device time.
Signed-off-by: Ilan Peer <
[email protected]
>
Reviewed-by: Johannes Berg <
[email protected]
>
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
drivers/net/wireless/iwlwifi/mvm/time-event.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/mvm/time-event.c
b/drivers/net/wireless/iwlwifi/mvm/time-event.c
index 6c0566996441458f8bec1f108cc8ba049882d6a2..8fe7ecd75b922ec5d806c8dca703c72e51163943 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/mvm/time-event.c
+++ b/
drivers/net/wireless/iwlwifi/mvm/time-event.c
@@
-596,8
+596,7
@@
void iwl_mvm_protect_session(struct iwl_mvm *mvm,
cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color));
time_cmd.id = cpu_to_le32(TE_BSS_STA_AGGRESSIVE_ASSOC);
- time_cmd.apply_time =
- cpu_to_le32(iwl_read_prph(mvm->trans, DEVICE_SYSTEM_TIME_REG));
+ time_cmd.apply_time = cpu_to_le32(0);
time_cmd.max_frags = TE_V2_FRAG_NONE;
time_cmd.max_delay = cpu_to_le32(max_delay);