usb-bus: fix no params
authorTeLeMan <geleman@gmail.com>
Tue, 30 Mar 2010 01:33:24 +0000 (09:33 +0800)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 2 Apr 2010 10:12:17 +0000 (12:12 +0200)
commit75cd7814068859f64866d64c2559db6f9ac87872
tree373427d1d4e219c3f0f41fd4b47162c611347ce4
parentcbecf85363f5745ae38c77ac60073f53e9d00153
usb-bus: fix no params

After commit 702f3e0fb52c124c07f215426eeadb70a716643f, the params is
nerver NULL. It should check *params instead of params to determine
whether the params is empty.

Signed-off-by: TeLeMan <geleman@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/usb-bus.c