diff options
| author | Mordechay Goodstein <[email protected]> | 2020-04-24 15:48:15 +0000 |
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2020-05-08 06:51:00 +0000 |
| commit | a65a5824298b06049dbaceb8a9bd19709dc9507c (patch) | |
| tree | 873d5c6aa1b54c0576793d1318df1fcac6c77e09 /drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |
| parent | iwlwifi: mvm: remove iwlmvm's tfd_q_hang_detect module parameter (diff) | |
| download | kernel-a65a5824298b06049dbaceb8a9bd19709dc9507c.tar.gz kernel-a65a5824298b06049dbaceb8a9bd19709dc9507c.zip | |
iwlwifi: avoid debug max amsdu config overwriting itself
If we set amsdu_len one after another the second one overwrites
the orig_amsdu_len so allow only moving from debug to non debug state.
Also the TLC update check was wrong: it was checking that also the orig
is smaller then the new updated size, which is not the case in debug
amsdu mode.
Signed-off-by: Mordechay Goodstein <[email protected]>
Fixes: af2984e9e625 ("iwlwifi: mvm: add a debugfs entry to set a fixed size AMSDU for all TX packets")
Signed-off-by: Luca Coelho <[email protected]>
Link: https://lore.kernel.org/r/iwlwifi.20200424182644.e565446a4fce.I9729d8c520d8b8bb4de9a5cdc62e01eb85168aac@changeid
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
0 files changed, 0 insertions, 0 deletions
