linux/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 Staging: asus_oled: fix build dependancy 2009-01-06 13:52:28 -08:00
at76_usb Staging: at76_usb: Add support for OQO Model 01+ 2009-02-09 11:26:18 -08:00
benet Staging: benet: cleanup a check while posting rx buffers 2009-01-06 13:52:16 -08:00
comedi Staging: comedi: fix Kbuild 2009-01-28 15:49:05 -08:00
echo Staging: echo: Lindent drivers/staging/echo 2009-01-06 13:52:05 -08:00
epl staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
et131x Staging: et131x: remove unused variable in et1310_tx.c 2009-01-06 13:52:08 -08:00
frontier staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
go7007 V4L/DVB (10176a): Switch remaining clear_user_page users over to clear_user_highpage 2009-01-07 22:18:54 -02:00
me4000 Staging: me4000: switch to list_for_each*() 2009-01-06 13:52:32 -08:00
meilhaus Staging: meilhaus: fix Kbuild 2009-01-28 15:49:05 -08:00
mimio Staging: add mimio xi driver 2009-01-06 13:52:34 -08:00
otus staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
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 Staging: add princeton instruments usb camera driver 2009-01-06 13:52:34 -08:00
rt2860 staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
rt2870 staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
rtl8187se Staging: rtl8187se: Fix oops and memory poison caused by builtin ieee80211. 2009-02-27 12:56:23 -08:00
slicoss Staging: slicoss: use request_firmware 2009-01-06 13:52:08 -08:00
sxg Staging: sxg: update README 2009-01-06 13:52:05 -08:00
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 Staging: wlan-ng: skb_p80211_to_ether() - payload_length is unsigned, check before subtraction 2009-01-06 13:52:01 -08:00
Kconfig Staging: add android framework 2009-01-06 13:52:41 -08:00
Makefile Staging: add android framework 2009-01-06 13:52:41 -08:00
staging.c Staging: workaround build system bug 2008-10-13 14:32:52 -07:00