aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-09-24 16:19:43 -0400
committerLuca Coelho <luciano.coelho@intel.com>2015-10-05 07:33:32 -0400
commitfe96cc73c9f405a0bdc90504048235dfd0384582 (patch)
treea10bc6e2436f073d56a81590e33414f945265847
parent91fac940896b345d10e503ed7e1f54f85b3b9318 (diff)
iwlwifi: mvm: make threshold temperatures unsigned
There's no need to have negative threshold temperatures, so make them unsigned to avoid signedness warnings in debugfs. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-config.h b/drivers/net/wireless/iwlwifi/iwl-config.h
index 939fa229c038..910970858f98 100644
--- a/drivers/net/wireless/iwlwifi/iwl-config.h
+++ b/drivers/net/wireless/iwlwifi/iwl-config.h
@@ -223,13 +223,13 @@ struct iwl_tt_tx_backoff {
223 * @support_tx_backoff: Support tx-backoff? 223 * @support_tx_backoff: Support tx-backoff?
224 */ 224 */
225struct iwl_tt_params { 225struct iwl_tt_params {
226 s32 ct_kill_entry; 226 u32 ct_kill_entry;
227 s32 ct_kill_exit; 227 u32 ct_kill_exit;
228 u32 ct_kill_duration; 228 u32 ct_kill_duration;
229 s32 dynamic_smps_entry; 229 u32 dynamic_smps_entry;
230 s32 dynamic_smps_exit; 230 u32 dynamic_smps_exit;
231 s32 tx_protection_entry; 231 u32 tx_protection_entry;
232 s32 tx_protection_exit; 232 u32 tx_protection_exit;
233 struct iwl_tt_tx_backoff tx_backoff[TT_TX_BACKOFF_SIZE]; 233 struct iwl_tt_tx_backoff tx_backoff[TT_TX_BACKOFF_SIZE];
234 bool support_ct_kill; 234 bool support_ct_kill;
235 bool support_dynamic_smps; 235 bool support_dynamic_smps;