]> git.baikalelectronics.ru Git - kernel.git/commit
sierra_net: keep status interrupt URB active
authorDan Williams <dcbw@redhat.com>
Mon, 6 May 2013 11:34:56 +0000 (11:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 May 2013 20:13:29 +0000 (13:13 -0700)
commit1b2947d271f1304a66f406932ce3fe47a8965c41
tree3f76912aa4663581ba2557959f268efaf4508a5a
parent73f4a9ee2d51b0b27cf604055db3f8b556985f5f
sierra_net: keep status interrupt URB active

The driver and firmware sync up through SYNC messages, and the
firmware's affirmative reply to these SYNC messages appears to be the
"Reset" indication received via the status interrupt endpoint.  Thus the
driver needs the status interrupt endpoint always active so that the
Reset indication can be received even if the netdev is closed, which is
the case right after device insertion.

If the Reset indication is not received by the driver, it continues
sending SYNC messages to the firmware, which crashes about 10 seconds
later and the device stops responding.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/sierra_net.c