Explorar o código

qcacld-3.0: Fix for code error

Add missing break after the update of ret variable.

Change-Id: Ib9c54575d97d26f05239a2fb44a87a63440b9bdf
CRs-Fixed: 3277218
Azmath Mohammed %!s(int64=2) %!d(string=hai) anos
pai
achega
0105fcdd46

+ 1 - 0
components/pkt_capture/core/src/wlan_pkt_capture_data_txrx.c

@@ -116,6 +116,7 @@ static unsigned char pkt_capture_get_tx_rate(
 		case 0x0:
 			ret = 0x16;
 			*preamble = LONG_PREAMBLE;
+			break;
 		case 0x1:
 			ret = 0xB;
 			*preamble = LONG_PREAMBLE;