projects
/
platform
/
core
/
api
/
usb-host.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73e5316
)
Fix get_active_config output value
14/186814/1
author
Michal Bloch
<m.bloch@samsung.com>
Tue, 14 Aug 2018 13:49:14 +0000
(15:49 +0200)
committer
Michal Bloch
<m.bloch@samsung.com>
Tue, 14 Aug 2018 13:49:42 +0000
(15:49 +0200)
Change-Id: I99217ea37d0783774b97a62cabe1fb3f43adaf79
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/usb_host.c
patch
|
blob
|
history
diff --git
a/src/usb_host.c
b/src/usb_host.c
index 7c02bf320040d9dca380175bcd5c9f86ce87433f..410acc4d0f68268d4354373ade58b626e2c925b2 100755
(executable)
--- a/
src/usb_host.c
+++ b/
src/usb_host.c
@@
-883,7
+883,7
@@
int usb_host_get_active_config(usb_host_device_h dev, usb_host_config_h *config)
/* unconfigured state */
if (cfg_nmb == 0) {
- config = NULL;
+
*
config = NULL;
goto out;
}