linux/drivers/net/wireless
Ronald Wahl 671796dd96 carl9170: fix sending URBs with wrong type when using full-speed
The driver assumes that endpoint 4 is always an interrupt endpoint.
Unfortunately the type differs between high-speed and full-speed
configurations while in the former case it is indeed an interrupt
endpoint this is not true for the latter case - here it is a bulk
endpoint. When sending URBs with the wrong type the kernel will
generate a warning message including backtrace. In this specific
case there will be a huge amount of warnings which can bring the system
to freeze.

To fix this we are now sending URBs to endpoint 4 using the type
found in the endpoint descriptor.

A side note: The carl9170 firmware currently specifies endpoint 4 as
interrupt endpoint even in the full-speed configuration but this has
no relevance because before this firmware is loaded the endpoint type
is as described above and after the firmware is running the stick is not
reenumerated and so the old descriptor is used.

Signed-off-by: Ronald Wahl <ronald.wahl@raritan.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-08-11 14:43:51 -04:00
..
ath carl9170: fix sending URBs with wrong type when using full-speed 2014-08-11 14:43:51 -04:00
b43 b43: N-PHY: fix "Data bus error" while working in 5 GHz 2014-07-31 13:45:31 -04:00
b43legacy
brcm80211 Merge tag 'master-2014-07-31' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2014-08-05 13:18:20 -07:00
cw1200 cw1200: remove unnecessary break after return 2014-07-20 21:29:51 -07:00
hostap
ipw2x00 drivers/net/wireless/ipw2x00/libipw_module.c: remove unnecessary null test before kfree 2014-07-01 14:26:26 -04:00
iwlegacy iwlegacy: use correct structure type name in sizeof 2014-07-31 13:41:44 -04:00
iwlwifi iwlwifi: mvm: teardown TDLS peers during chan-switch and AP DCM 2014-07-22 22:08:47 +03:00
libertas net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
libertas_tf
mwifiex Merge tag 'master-2014-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2014-07-28 17:36:25 -07:00
orinoco orinoco_usb: remove unnecessary break after goto 2014-07-13 23:45:24 -07:00
p54 p54: use request_firmware_direct() for optional EEPROM override 2014-06-25 15:40:40 -04:00
prism54 prism54: remove unnecessary break after return 2014-07-20 21:29:51 -07:00
rsi rsi: fix memory leaks and error handling in rsi_91x_usb 2014-07-01 14:26:26 -04:00
rt2x00 wireless: rt2x00: add new rt2800usb devices 2014-07-15 16:00:03 -04:00
rtl818x rtl818x_pci: fix pci probe returns success when it fails 2014-07-01 14:26:27 -04:00
rtlwifi rtlwifi: rtl8188ee: remove unnecessary break after return 2014-07-20 21:29:50 -07:00
ti wlcore/wl18xx/wl12xx: convert bitmaps to unsigned longs 2014-07-15 16:00:02 -04:00
zd1211rw wireless: zd1211rw: new url for fw, remove experimental 2014-07-15 16:00:17 -04:00
adm8211.c
adm8211.h
airo.c airo: remove unnecessary break after return 2014-07-20 21:29:51 -07:00
airo.h
airo_cs.c
at76c50x-usb.c mac80211: support more than one band in scan request 2014-06-25 09:10:42 +02:00
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
Kconfig net: fix USB network driver config option. 2014-08-06 16:00:20 -07:00
mac80211_hwsim.c Merge tag 'master-2014-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2014-07-28 17:36:25 -07:00
mac80211_hwsim.h
Makefile
mwl8k.c mwl8k: remove unnecessary break after return 2014-07-20 21:29:50 -07:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
wl3501.h
wl3501_cs.c
zd1201.c
zd1201.h