linux-stable-rt/drivers/staging
Pekka Enberg acfa5110b8 Staging: w35und: fix usb_control_msg() error handling in wb35_probe()
If successful, the usb_control_msg() function returns the number of
bytes transferred. Fix up wb35_probe() to only bail out if the function returns
a negative number. Also, fix up ieee80211_alloc_hw() error code to ENOMEM;
otherwise GCC complains that err might be undefined (and is right about that).

Acked-by: Pavel Machek <pavel@suse.cz>
Reported-and-tested-by: Sandro Bonazzola <sandro.bonazzola@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-02-27 12:56:24 -08:00
..
agnx staging: agnx: drivers/staging/agnx/agnx.h needs <linux/io.h> 2009-01-28 15:49:05 -08:00
altpciechdma Documentation: move DMA-mapping.txt to Doc/PCI/ 2009-01-29 18:19:29 -08:00
android Staging: android: fix up units in timed_gpio 2009-02-09 11:26:18 -08:00
asus_oled
at76_usb Staging: at76_usb: Add support for OQO Model 01+ 2009-02-09 11:26:18 -08:00
benet
comedi Staging: comedi: fix Kbuild 2009-01-28 15:49:05 -08:00
echo
epl
et131x
frontier
go7007
me4000
meilhaus Staging: meilhaus: fix Kbuild 2009-01-28 15:49:05 -08:00
mimio
otus
panel Staging: panel: fix oops on panel_cleanup_module 2009-02-27 12:56:24 -08:00
poch Staging: poch: fix verification of memory area 2009-01-28 15:49:06 -08:00
rspiusb
rt2860
rt2870
rtl8187se Staging: rtl8187se: Fix oops and memory poison caused by builtin ieee80211. 2009-02-27 12:56:23 -08:00
slicoss
sxg
usbip Staging: usbip: usbip_start_threads(): handle kernel_thread failure 2009-01-28 15:49:05 -08:00
winbond Staging: w35und: fix usb_control_msg() error handling in wb35_probe() 2009-02-27 12:56:24 -08:00
wlan-ng
Kconfig
Makefile
staging.c