]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb38ed2daf86022c13c103ed599b5ea97d3694e23
treea2e43106f1b64b0f250223db5ac99f3c4a3fa598
parent80b7a7f8a785f92d913cf3f570b4d4dc3f165539
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