]> git.baikalelectronics.ru Git - kernel.git/commit
usbnet: fix status interrupt urb handling
authorFelix Fietkau <nbd@openwrt.org>
Tue, 12 Nov 2013 15:34:41 +0000 (16:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 07:32:37 +0000 (02:32 -0500)
commitb66dc0d4d1f9704c0abfa3039aea27acae555991
tree63e6bcd255abfa45046114466d96f4f43c720591
parent3df42704a887330b0a96e3e3729a373781d0b73f
usbnet: fix status interrupt urb handling

Since commit 1b2947d271f1304a66f406932ce3fe47a8965c41
"sierra_net: keep status interrupt URB active", sierra_net triggers
status interrupt polling before the net_device is opened (in order to
properly receive the sync message response).

To be able to receive further interrupts, the interrupt urb needs to be
re-submitted, so this patch removes the bogus check for netif_running().

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Tested-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c