LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ipxe.45f2265bfcbbf2afd7fac24372ae26e453f2b52d.patch of Package qemu-2.7 (Project home:olh:xen-buildrequires)

From: Michael Brown <mcb30@ipxe.org>
Date: Wed, 22 Mar 2017 11:52:09 +0200
Subject: 45f2265bfcbbf2afd7fac24372ae26e453f2b52d

[ath] Add missing break statements

Signed-off-by: Michael Brown <mcb30@ipxe.org>
---
 src/drivers/net/ath/ath5k/ath5k_desc.c | 3 +++
 1 file changed, 3 insertions(+)

--- a/src/drivers/net/ath/ath5k/ath5k_desc.c
+++ b/src/drivers/net/ath/ath5k/ath5k_desc.c
@@ -104,10 +104,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 /*<< 2 ?*/;
+			break;
 		}
 
 		tx_ctl->tx_control_0 |=