commit | 71e9378bcfd2e9dd96c2bfbef23f3562946d30b3 | [log] [tgz] |
---|---|---|
author | Luca Coelho <luciano.coelho@intel.com> | Fri Apr 24 19:46:58 2020 +0300 |
committer | Luca Coelho <luciano.coelho@intel.com> | Fri May 08 09:51:38 2020 +0300 |
tree | 25b95db41ad3ebbb2179ffa22591b675b8158e66 | |
parent | 2abe24f9e15b2ccce471dd1996debdae6c84e64b [diff] |
iwlwifi: mvm: initialize iwl_dev_tx_power_cmd to zero If the REDUCE_TX_POWER_CMD version is v4 or v5, we are not initializing some values before sending to the FW, which causes SAR not to work properly. Solve this by initializing the struct in the declaration. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20200424194456.0dc957a264ff.I43cfd72d539c1287ccaaa454e95c673dac38214f@changeid