From 004ec91c3db6b73b71eba63100183fe63d97a1e9 Mon Sep 17 00:00:00 2001 From: Houston Hoffman Date: Mon, 6 Jun 2016 11:41:55 -0700 Subject: [PATCH] qcacmn: Populate target_type in target_info for snoc The target type is queried through the target_info structure. Change-Id: I0c4323f83098f607584f7a8d9b1929257172b5be CRs-Fixed: 1025074 --- hif/src/snoc/if_snoc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hif/src/snoc/if_snoc.c b/hif/src/snoc/if_snoc.c index bb90457ad8e4..83c970a6d003 100644 --- a/hif/src/snoc/if_snoc.c +++ b/hif/src/snoc/if_snoc.c @@ -217,6 +217,8 @@ QDF_STATUS hif_snoc_enable_bus(struct hif_softc *ol_sc, return QDF_STATUS_E_FAILURE; } + ol_sc->target_info.target_type = target_type; + hif_register_tbl_attach(ol_sc, hif_type); target_register_tbl_attach(ol_sc, target_type);