aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/dvm/scan.c
diff options
context:
space:
mode:
authorLuca Coelho <[email protected]>2018-12-04 21:13:15 +0000
committerLuca Coelho <[email protected]>2019-02-04 10:27:20 +0000
commit999ced14c783e94f286c72484a01f9947ee94790 (patch)
treea9b094cef94e954aea6199791680258cc8ed3643 /drivers/net/wireless/intel/iwlwifi/dvm/scan.c
parentiwlwifi: dbg_ini: update ini structs meta doc (diff)
downloadkernel-999ced14c783e94f286c72484a01f9947ee94790.tar.gz
kernel-999ced14c783e94f286c72484a01f9947ee94790.zip
iwlwifi: dvm: fix some fall through warnings
Some case statements were missing a comment about falling through or had more text than the compiler can recognize. Fix that. Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/dvm/scan.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/dvm/scan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/scan.c b/drivers/net/wireless/intel/iwlwifi/dvm/scan.c
index 8d7aafb4d9e9..f190f7beb3a8 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/scan.c
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/scan.c
@@ -3,6 +3,7 @@
* GPL LICENSE SUMMARY
*
* Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved.
+ * Copyright(c) 2018 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
@@ -418,7 +419,7 @@ static u16 iwl_limit_dwell(struct iwl_priv *priv, u16 dwell_time)
limit = (limits[1] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2;
limit /= 2;
dwell_time = min(limit, dwell_time);
- /* fall through to limit further */
+ /* fall through */
case 1:
limit = (limits[0] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2;
limit /= n_active;