hso: Fix for 5 sec timeouts with v2.x firmware
authorJan Dumon <j.dumon@option.com>
Tue, 5 Jan 2010 04:52:42 +0000 (04:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2010 08:43:46 +0000 (00:43 -0800)
commit0e0367e980b55629917f3dd5f5f0ccbf3d0dab62
treefea3cbbca07b0179acbc923dfa9f36045267c6db
parent68a351c501ad22077a969df157cd13367cb43a40
hso: Fix for 5 sec timeouts with v2.x firmware

Don't send flow control settings to any port other than the modem port.
Older firmware ignored this request but did sent a reply. Newer firmware just
ignores it without reply and causes a 5 second timeout every time a port
(except for the modem port) is opened or if tiocm settings are changed.

Signed-off-by: Jan Dumon <j.dumon@option.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c