Skip to content

Commit

Permalink
ath5k: document a fall-through case in ath5k_hw_set_opmode
Browse files Browse the repository at this point in the history
Coverity: CID 114932

Signed-off-by: John W. Linville <[email protected]>
Acked-by: Nick Kossifidis <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
  • Loading branch information
linvjw authored and Kalle Valo committed Jan 23, 2015
1 parent 811c69e commit c071933
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/ath/ath5k/pcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?
Expand Down

0 comments on commit c071933

Please sign in to comment.