diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-07-13 17:38:34 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-07-13 17:47:01 +0200 |
commit | f617da0552c95202807c5e41c70bc78a3189378e (patch) | |
tree | bcb5c16a82515465661430d90eede48000918700 /utils/hwstub/stub | |
parent | 140783ef66eef379feedcfef5403c5729d38936a (diff) |
hwstub: enhance protocol with more functions
Change-Id: I7944249c2f7ea3e180e7b79ee8ae402d1d0742d3
Diffstat (limited to 'utils/hwstub/stub')
-rw-r--r-- | utils/hwstub/stub/stmp/target.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/hwstub/stub/stmp/target.c b/utils/hwstub/stub/stmp/target.c index 60411f908e..11516e5492 100644 --- a/utils/hwstub/stub/stmp/target.c +++ b/utils/hwstub/stub/stmp/target.c @@ -196,6 +196,11 @@ int target_get_info(int info, void **buffer) *buffer = &g_stmp; return sizeof(g_stmp); } + else if(info == HWSTUB_INFO_TARGET) + { + *buffer = &g_target; + return sizeof(g_target); + } else return -1; } |