hso: Fix URB submission -EINVAL.
authorDenis Joseph Barrow <D.Barow@option.com>
Tue, 25 Nov 2008 08:30:48 +0000 (00:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Nov 2008 08:30:48 +0000 (00:30 -0800)
Added check for IFF_UP in hso_resume, this should eliminate -EINVAL (-22)
errors caused from urb's being submitted twice, once by hso_resume
& once in hso_net_open, if suspend/resume USB power saving  mode is enabled

Signed-off-by: Denis Joseph Barrow <D.Barow@option.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found