From: John Linville Date: Mon, 19 Jan 2015 19:09:15 +0000 (-0500) Subject: ath5k: document a fall-through case in ath5k_hw_set_opmode X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c0719334bf0b4d72fc0d22c484c698eec2a95c6d;p=linux-beck.git ath5k: document a fall-through case in ath5k_hw_set_opmode Coverity: CID 114932 Signed-off-by: John W. Linville Acked-by: Nick Kossifidis Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath5k/pcu.c b/drivers/net/wireless/ath/ath5k/pcu.c index c60d36aa13e2..bf29da5e90da 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 ?