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)
commit7b0c5f21f348a66de495868b8df0284e8dfd6bbf
tree3f76912aa4663581ba2557959f268efaf4508a5a
parent6eecdc5f95a393cb558503123eae9a9a6642e835
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