xtalk: Caller passes xusb_spec to xusb_find_iface()
authorOron Peled <oron.peled@xorcom.com>
Thu, 20 Sep 2012 13:40:40 +0000 (13:40 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Thu, 20 Sep 2012 13:40:40 +0000 (13:40 +0000)
commitec71fef2750dabe306b3a6016af93854cc6e282c
tree3b0873864709ecd33c8e28de9dec9173f8d6890c
parent99ebb2a94c97d101def85bc79772dcf5b318e6de
xtalk: Caller passes xusb_spec to xusb_find_iface()

* This xusb_spec:
  - Is a dummy struct used for this xusb instance only.
  - Is now passed by reference from caller.
  - So caller now manage the life cycle of this struct
* Also, demote one INFO() to DBG() (library should not print
  on its own)
* Also minor fix to DBG() output of spec initialization (leading 0)

Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

Origin: Xorcom xtalk (r9303)

git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@10711 17933a7a-c749-41c5-a318-cba88f637d49
xpp/xtalk/xusb.c
xpp/xtalk/xusb.h