]> Git Repo - linux.git/commitdiff
ath5k: Add missing breaks in switch/case
authorJoe Perches <[email protected]>
Sun, 10 Jul 2011 09:28:26 +0000 (02:28 -0700)
committerLinus Torvalds <[email protected]>
Mon, 11 Jul 2011 19:46:02 +0000 (12:46 -0700)
Signed-off-by: Joe Perches <[email protected]>
Acked-by: Pavel Roskin <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/net/wireless/ath/ath5k/desc.c

index 62172d5857239549ba6fa233df721096773fd707..f82383b3ed30c11ae4bceaae6d8e0c5028ba5f01 100644 (file)
@@ -107,10 +107,13 @@ ath5k_hw_setup_2word_tx_desc(struct ath5k_hw *ah, struct ath5k_desc *desc,
                case AR5K_PKT_TYPE_BEACON:
                case AR5K_PKT_TYPE_PROBE_RESP:
                        frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_NO_DELAY;
+                       break;
                case AR5K_PKT_TYPE_PIFS:
                        frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_PIFS;
+                       break;
                default:
                        frame_type = type;
+                       break;
                }
 
                tx_ctl->tx_control_0 |=
This page took 0.066419 seconds and 4 git commands to generate.