ar9170usb: reset device on resume
commit90ccda9baccec8223ca5456fbe49adf7264d1543
authorChristian Lamparter <chunkeey@web.de>
Sat, 25 Apr 2009 19:32:09 +0000 (25 21:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:14:42 +0000 (6 15:14 -0400)
treee323258f5f538cf59470d0cfa692246520b14d06
parent1ca5f2e94c40b04d5dec437cd41fd5ba12aaac31
ar9170usb: reset device on resume

This patch takes care of an outstanding comment in
"[PATCH] ar9170usb: fix hang on resume" commit message.

>However, the device does not accept the firmware on resume.
>and it will exit with:
>
>> firmware part 1 upload failed (-71).
>> device is in a bad state. please reconnect it!

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Tested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar9170/usb.c