usbnet: add rx queue pausing
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Tue, 11 Aug 2009 19:57:16 +0000 (22:57 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:14:04 +0000 (09:14 -0400)
commit7834ddbcc7a097443761b0722e8c9fb8511b95b1
treef764502e46a6a5db52dcec7b961238161848e9b6
parentd4de9532fd0b50d486259ace17650a58bbb751c2
usbnet: add rx queue pausing

Add rx queue pausing to usbnet. This is needed by rndis_wlan so that it can
control rx queue and prevent received packets from being send forward before
rndis_wlan receives and handles 'media connect'-indication. Without this
establishing WPA connections is hard and fail often.

[v2] - removed unneeded use of skb_clone

Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/usb/usbnet.c
drivers/net/wireless/rndis_wlan.c
include/linux/usb/usbnet.h