From f617da0552c95202807c5e41c70bc78a3189378e Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sat, 13 Jul 2013 17:38:34 +0200 Subject: hwstub: enhance protocol with more functions Change-Id: I7944249c2f7ea3e180e7b79ee8ae402d1d0742d3 --- utils/hwstub/stub/stmp/target.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils/hwstub/stub') 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; } -- cgit