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
 		case AR5K_PKT_TYPE_BEACON:
104
 		case AR5K_PKT_TYPE_BEACON:
105
 		case AR5K_PKT_TYPE_PROBE_RESP:
105
 		case AR5K_PKT_TYPE_PROBE_RESP:
106
 			frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_NO_DELAY;
106
 			frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_NO_DELAY;
107
+			break;
107
 		case AR5K_PKT_TYPE_PIFS:
108
 		case AR5K_PKT_TYPE_PIFS:
108
 			frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_PIFS;
109
 			frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_PIFS;
110
+			break;
109
 		default:
111
 		default:
110
 			frame_type = type /*<< 2 ?*/;
112
 			frame_type = type /*<< 2 ?*/;
113
+			break;
111
 		}
114
 		}
112
 
115
 
113
 		tx_ctl->tx_control_0 |=
116
 		tx_ctl->tx_control_0 |=

Loading…
Cancel
Save