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