summaryrefslogtreecommitdiff
path: root/net/wireless/mlme.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-08-22 11:23:23 +0300
committerJohannes Berg <johannes.berg@intel.com>2020-08-27 12:24:28 +0300
commit7b506ff6f6903518af65fc35ae2fcd8305d8ff2b (patch)
treeb90a03029fed8c5ff12f6c1f7537fc8624b668cb /net/wireless/mlme.c
parenteee79f8094e703e30ed117a373b4a4edb885af3a (diff)
downloadlinux-7b506ff6f6903518af65fc35ae2fcd8305d8ff2b.tar.xz
net: wireless: Convert to use the preferred fallthrough macro
Convert the uses of fallthrough comments to fallthrough macro. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Link: https://lore.kernel.org/r/20200822082323.45495-1-linmiaohe@huawei.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r--net/wireless/mlme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c
index a6c61a2e6569..db7333e20dd7 100644
--- a/net/wireless/mlme.c
+++ b/net/wireless/mlme.c
@@ -941,7 +941,7 @@ void cfg80211_cac_event(struct net_device *netdev,
sizeof(struct cfg80211_chan_def));
queue_work(cfg80211_wq, &rdev->propagate_cac_done_wk);
cfg80211_sched_dfs_chan_update(rdev);
- /* fall through */
+ fallthrough;
case NL80211_RADAR_CAC_ABORTED:
wdev->cac_started = false;
break;