usb: move scanned status into core
A command should not be interested in the internal USB core state, so
move the state handling into the core.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1e60cba commit 31879ed96f75e1e75b150e9665e261a44e3fa904
@Sascha Hauer Sascha Hauer authored on 19 Jun 2013
Showing 3 changed files
View
commands/usb.c
View
drivers/usb/core/usb.c
View
include/usb/usb.h