commit | 817ff7fc72a00f11457eb09dadff2bf9548fac50 | [log] [tgz] |
---|---|---|
author | Houston Hoffman <hhoffman@codeaurora.org> | Thu Jul 13 14:03:28 2017 -0700 |
committer | snandini <snandini@codeaurora.org> | Fri Aug 11 19:38:21 2017 -0700 |
tree | c10bb0305c5e2ed002d207eff647831fe91e8da8 | |
parent | 7ddb964c750130df79425c19333eecfe5d827b66 [diff] [blame] |
qcacmn: Add target type for adrastea chip Add adrastea target type definitions to hif.h. Change-Id: Id3183287ecd749577cfc1b71a0cfd96210073612 CRs-Fixed: 2066361
diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c index 10928d7..715044d 100644 --- a/hif/src/hif_main.c +++ b/hif/src/hif_main.c
@@ -799,6 +799,11 @@ ret = -ENODEV; break; } + + if (*target_type == TARGET_TYPE_UNKNOWN) { + HIF_ERROR("%s: Unsupported target_type!", __func__); + ret = -ENODEV; + } end: return ret; }