diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-05-26 00:22:07 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-06-13 14:45:20 +0300 |
commit | 12b67b0d6bcbe91d8b0682610f43d1cd8cdf280e (patch) | |
tree | 1d9e2e2f0b36c90a2fcb613202fc5bf4dbb5276b /drivers/net/wireless/ath/ath9k/main.c | |
parent | 4de30c906ef08af67c6d81c03e3505ee467db026 (diff) | |
download | linux-12b67b0d6bcbe91d8b0682610f43d1cd8cdf280e.tar.xz |
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/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index a3be8add56e1..11d84f467203 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -1928,6 +1928,7 @@ static int ath9k_ampdu_action(struct ieee80211_hw *hw, case IEEE80211_AMPDU_TX_STOP_FLUSH: case IEEE80211_AMPDU_TX_STOP_FLUSH_CONT: flush = true; + /* fall through */ case IEEE80211_AMPDU_TX_STOP_CONT: ath9k_ps_wakeup(sc); ath_tx_aggr_stop(sc, sta, tid); |