selftests: usbip: add wait after attach and before checking port status
authorShuah Khan (Samsung OSG) <shuah@kernel.org>
Fri, 5 Oct 2018 22:17:43 +0000 (16:17 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:12:16 +0000 (11:12 -0800)
commitd1d394e201f050b1fe5261933d67cb2f3a76c78c
treeb64f7cf2ada0b48affa501732e203866d3fc6da7
parentc714f12f60ba23c8db44ee894fd8eef19715df88
selftests: usbip: add wait after attach and before checking port status

[ Upstream commit 4b0aaacee51eb6592a03fdefd5ce97558518e291 ]

Add sleep between attach and "usbip port" check to make sure status is
updated. Running attach and query back shows incorrect status.

Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/drivers/usb/usbip/usbip_test.sh