diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-11-20 19:33:39 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-12-08 09:06:53 +0100 |
commit | 48264b23fadee1d240729d87afdda3a42da22290 (patch) | |
tree | 04ea16aab19206c18d802ed550a04e887f025259 /drivers/net/wireless/cisco | |
parent | Merge tag 'mt76-for-kvalo-2020-12-04' of https://github.com/nbd168/wireless (diff) | |
download | linux-48264b23fadee1d240729d87afdda3a42da22290.tar.xz linux-48264b23fadee1d240729d87afdda3a42da22290.zip |
airo: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.
Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/b3c0f74f5b6e6bff9f1609b310319b6fdd9ee205.1605896059.git.gustavoars@kernel.org
Diffstat (limited to 'drivers/net/wireless/cisco')
-rw-r--r-- | drivers/net/wireless/cisco/airo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/cisco/airo.c b/drivers/net/wireless/cisco/airo.c index ba62bb2995d9..e35e1380ae43 100644 --- a/drivers/net/wireless/cisco/airo.c +++ b/drivers/net/wireless/cisco/airo.c @@ -7065,6 +7065,7 @@ static int airo_set_power(struct net_device *dev, local->config.rmode &= ~RXMODE_MASK; local->config.rmode |= RXMODE_BC_MC_ADDR; set_bit (FLAG_COMMIT, &local->flags); + break; case IW_POWER_ON: /* This is broken, fixme ;-) */ break; |