Pārlūkot izejas kodu

qcacmn: fix bus-open-failure for BUS_TYPE_SDIO

Failed to open sdio bus for HL target, due to
missing of 'break' in 'switch' case.

Add 'break' for QDF_BUS_TYPE_SDIO

Change-Id: I0d43a61c89828f76223c9f95f4de41a76381c7bb
CRs-Fixed: 2004349
Yu Wang 8 gadi atpakaļ
vecāks
revīzija
1e487a58a6
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      hif/src/dispatcher/multibus.c

+ 2 - 1
hif/src/dispatcher/multibus.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -140,6 +140,7 @@ QDF_STATUS hif_bus_open(struct hif_softc *hif_sc,
 		break;
 	case QDF_BUS_TYPE_SDIO:
 		status = hif_initialize_sdio_ops(hif_sc);
+		break;
 	case QDF_BUS_TYPE_USB:
 		status = hif_initialize_usb_ops(&hif_sc->bus_ops);
 		break;