linux-hardened/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
altpciechdma
android
asus_oled
at76_usb
benet
comedi
echo
epl
et131x
frontier
go7007
me4000
meilhaus
mimio
otus
panel Staging: panel: fix oops on panel_cleanup_module 2009-02-27 12:56:24 -08:00
poch
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
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