aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2018-12-04 23:23:49 +0200
committerLuca Coelho <luciano.coelho@intel.com>2019-02-04 12:27:20 +0200
commit244726ec9e1965c3263807c7c22bcdd1f6870e96 (patch)
treef1fb4bebb16fa27b79fb8022b3dff36f2e6f02f1 /drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
parentiwlwifi: dvm: fix some fall through warnings (diff)
downloadlinux-dev-244726ec9e1965c3263807c7c22bcdd1f6870e96.tar.xz
linux-dev-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/mac80211.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
index 8837d7667f36..4e676a6936c1 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
@@ -3901,6 +3901,7 @@ static int __iwl_mvm_assign_vif_chanctx(struct iwl_mvm *mvm,
mvmvif->ap_ibss_active = true;
break;
}
+ /* fall through */
case NL80211_IFTYPE_ADHOC:
/*
* The AP binding flow is handled as part of the start_ap flow