aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9002_phy.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-05-25 16:22:07 -0500
committerKalle Valo <kvalo@codeaurora.org>2018-06-13 14:45:20 +0300
commit12b67b0d6bcbe91d8b0682610f43d1cd8cdf280e (patch)
tree1d9e2e2f0b36c90a2fcb613202fc5bf4dbb5276b /drivers/net/wireless/ath/ath9k/ar9002_phy.c
parentath6kl: mark expected switch fall-throughs (diff)
downloadlinux-dev-12b67b0d6bcbe91d8b0682610f43d1cd8cdf280e.tar.xz
linux-dev-12b67b0d6bcbe91d8b0682610f43d1cd8cdf280e.zip
ath9k: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9002_phy.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9002_phy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_phy.c b/drivers/net/wireless/ath/ath9k/ar9002_phy.c
index 61a9b85045d2..713291881208 100644
--- a/drivers/net/wireless/ath/ath9k/ar9002_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar9002_phy.c
@@ -119,6 +119,7 @@ static int ar9002_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan)
aModeRefSel = 2;
if (aModeRefSel)
break;
+ /* else: fall through */
case 1:
default:
aModeRefSel = 0;