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)
commit89930b7b5e3e9bfe9c6ec5e19920451c8f5d9088
treea2e43106f1b64b0f250223db5ac99f3c4a3fa598
parent4a3e818181e1baf970e9232ca8b747e233176b87
hso: Fix URB submission -EINVAL.

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>
drivers/net/usb/hso.c