summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Linville <linville@tuxdriver.com>2015-01-19 14:09:15 -0500
committerKalle Valo <kvalo@codeaurora.org>2015-01-23 21:17:26 +0200
commitc0719334bf0b4d72fc0d22c484c698eec2a95c6d (patch)
tree7260b1e2d1ac2e922dc13f50d56dece114138c1e
parent811c69e63a85223dfd865443fde21d8c60569a58 (diff)
downloadop-kernel-dev-c0719334bf0b4d72fc0d22c484c698eec2a95c6d.zip
op-kernel-dev-c0719334bf0b4d72fc0d22c484c698eec2a95c6d.tar.gz
ath5k: document a fall-through case in ath5k_hw_set_opmode
Coverity: CID 114932 Signed-off-by: John W. Linville <linville@tuxdriver.com> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r--drivers/net/wireless/ath/ath5k/pcu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/pcu.c b/drivers/net/wireless/ath/ath5k/pcu.c
index c60d36a..bf29da5 100644
--- a/drivers/net/wireless/ath/ath5k/pcu.c
+++ b/drivers/net/wireless/ath/ath5k/pcu.c
@@ -912,6 +912,7 @@ ath5k_hw_set_opmode(struct ath5k_hw *ah, enum nl80211_iftype op_mode)
pcu_reg |= AR5K_STA_ID1_KEYSRCH_MODE
| (ah->ah_version == AR5K_AR5210 ?
AR5K_STA_ID1_PWR_SV : 0);
+ /* fall through */
case NL80211_IFTYPE_MONITOR:
pcu_reg |= AR5K_STA_ID1_KEYSRCH_MODE
| (ah->ah_version == AR5K_AR5210 ?
OpenPOWER on IntegriCloud