Browse Source

[ath] Add missing break statements

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 7 years ago
parent
commit
45f2265bfc
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/drivers/net/ath/ath5k/ath5k_desc.c

+ 3
- 0
src/drivers/net/ath/ath5k/ath5k_desc.c View File

@@ -104,10 +104,13 @@ ath5k_hw_setup_2word_tx_desc(struct ath5k_hw *ah, struct ath5k_desc *desc,
104 104
 		case AR5K_PKT_TYPE_BEACON:
105 105
 		case AR5K_PKT_TYPE_PROBE_RESP:
106 106
 			frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_NO_DELAY;
107
+			break;
107 108
 		case AR5K_PKT_TYPE_PIFS:
108 109
 			frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_PIFS;
110
+			break;
109 111
 		default:
110 112
 			frame_type = type /*<< 2 ?*/;
113
+			break;
111 114
 		}
112 115
 
113 116
 		tx_ctl->tx_control_0 |=

Loading…
Cancel
Save