summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
diff options
context:
space:
mode:
authorLuca Coelho2018-12-04 22:23:49 +0100
committerLuca Coelho2019-02-04 11:27:20 +0100
commit244726ec9e1965c3263807c7c22bcdd1f6870e96 (patch)
treef1fb4bebb16fa27b79fb8022b3dff36f2e6f02f1 /drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
parentiwlwifi: dvm: fix some fall through warnings (diff)
downloadkernel-qcow2-linux-244726ec9e1965c3263807c7c22bcdd1f6870e96.tar.gz
kernel-qcow2-linux-244726ec9e1965c3263807c7c22bcdd1f6870e96.tar.xz
kernel-qcow2-linux-244726ec9e1965c3263807c7c22bcdd1f6870e96.zip
iwlwifi: mvm: add fall through comments where needed
Some switch-cases were missing a fall through comment, so the compiler may warn. Fix that by adding the comments where needed. In other cases there was more text in the comment, which the compiler doesn't recognize, so either remove the extra text or move it to a separate comment line as appropriate. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
index 2c56f73d688e..b5ff3325c1d3 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
@@ -310,7 +310,7 @@ static int iwl_mvm_rx_crypto(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr,
stats->flag |= RX_FLAG_MMIC_ERROR;
*crypt_len = IEEE80211_TKIP_IV_LEN;
- /* fall through if TTAK OK */
+ /* fall through */
case IWL_RX_MPDU_STATUS_SEC_WEP:
if (!(status & IWL_RX_MPDU_STATUS_ICV_OK))
return -1;