projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
811c69e
)
ath5k: document a fall-through case in ath5k_hw_set_opmode
author
John Linville
<linville@tuxdriver.com>
Mon, 19 Jan 2015 19:09:15 +0000
(14:09 -0500)
committer
Kalle Valo
<kvalo@codeaurora.org>
Fri, 23 Jan 2015 19:17:26 +0000
(21:17 +0200)
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>
drivers/net/wireless/ath/ath5k/pcu.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath5k/pcu.c
b/drivers/net/wireless/ath/ath5k/pcu.c
index c60d36aa13e214526f1f66d56cffd8498e10882d..bf29da5e90da05e7d75a18818d5f086b000e4229 100644
(file)
--- 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 ?