linux/drivers/staging/winbond
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
..
bss_f.h Staging: w35und: merge struct wb35_adapter to struct wbsoft_priv 2009-01-06 13:51:49 -08:00
bssdscpt.h Staging: w35und: #include cleanup 2009-01-06 13:51:47 -08:00
common.h Staging: w35und: clean up adapter.h a bit 2009-01-06 13:51:48 -08:00
core.h Staging: w35und: remove ->shutdown from struct wbsoft_priv 2009-01-06 13:51:50 -08:00
ds_tkip.h Staging: w35und: #include cleanup 2009-01-06 13:51:47 -08:00
gl_80211.h Staging: w35und: #include cleanup 2009-01-06 13:51:47 -08:00
ioctls.h Staging: add w35und wifi driver 2008-10-10 15:31:09 -07:00
Kconfig Staging: w35und: fix Kconfig 2009-01-06 13:51:52 -08:00
localpara.h Staging: w35und: remove unused ->ShutDowned member from struct LOCAL_PARA 2009-01-06 13:51:50 -08:00
mac_structures.h Staging: w35und: #include cleanup 2009-01-06 13:51:47 -08:00
Makefile Staging: w35und: remove rxisr.c as dead code 2009-01-06 13:51:52 -08:00
mds_f.h Staging: w35und: remove rxisr.c as dead code 2009-01-06 13:51:52 -08:00
mds_s.h Staging: w35und: remove rxisr.c as dead code 2009-01-06 13:51:52 -08:00
mds.c Staging: w35und: remove rxisr.c as dead code 2009-01-06 13:51:52 -08:00
mlme_mib.h Staging: w35und: padapter struct typedef removal 2009-01-06 13:51:41 -08:00
mlme_s.h Staging: w35und: #include cleanup 2009-01-06 13:51:47 -08:00
mlmetxrx_f.h Staging: w35und: make functions local to mlmetxrx.c static 2009-01-06 13:51:51 -08:00
mlmetxrx.c Staging: w35und: make functions local to mlmetxrx.c static 2009-01-06 13:51:51 -08:00
mto_f.h Staging: w35und: merge struct wb35_adapter to struct wbsoft_priv 2009-01-06 13:51:49 -08:00
mto.c Staging: w35und: remove dead code from mto.c 2009-01-06 13:51:51 -08:00
mto.h Staging: w35und: remove dead code from mto.c 2009-01-06 13:51:51 -08:00
os_common.h Staging: w35und: move source files to one directory 2009-01-06 13:51:47 -08:00
phy_calibration.c Staging: w35und: #include cleanup 2009-01-06 13:51:47 -08:00
phy_calibration.h Staging: w35und: #include cleanup 2009-01-06 13:51:47 -08:00
README Staging: document 4k stack problem for winbond driver 2008-10-22 09:56:29 -07:00
reg.c Staging: w35und: #include cleanup 2009-01-06 13:51:47 -08:00
scan_s.h Staging: w35und: merge struct wb35_adapter to struct wbsoft_priv 2009-01-06 13:51:49 -08:00
sme_api.h Staging: w35und: remove some dead code 2009-01-06 13:51:47 -08:00
sme_s.h Staging: w35und: #include cleanup 2009-01-06 13:51:47 -08:00
sysdef.h Staging: w35und: remove rxisr.c as dead code 2009-01-06 13:51:52 -08:00
wb35_ver.h Staging: add w35und wifi driver 2008-10-10 15:31:09 -07:00
wb35reg_f.h Staging: w35und: move source files to one directory 2009-01-06 13:51:47 -08:00
wb35reg_s.h Staging: w35und: move source files to one directory 2009-01-06 13:51:47 -08:00
wb35reg.c Staging: w35und: move source files to one directory 2009-01-06 13:51:47 -08:00
wb35rx_f.h Staging: w35und: make functions local to wb35rx.c static 2009-01-06 13:51:51 -08:00
wb35rx_s.h Staging: w35und: move source files to one directory 2009-01-06 13:51:47 -08:00
wb35rx.c Staging: w35und: make functions local to wb35rx.c static 2009-01-06 13:51:51 -08:00
wb35tx_f.h Staging: w35und: make functions local to wb35tx.c static 2009-01-06 13:51:51 -08:00
wb35tx_s.h Staging: w35und: move source files to one directory 2009-01-06 13:51:47 -08:00
wb35tx.c Staging: w35und: make functions local to wb35tx.c static 2009-01-06 13:51:51 -08:00
wbhal_f.h Staging: w35und: remove dead code from wbhal.c 2009-01-06 13:51:51 -08:00
wbhal_s.h Staging: w35und: remove ->adapter from struct _HW_DATA_T 2009-01-06 13:51:48 -08:00
wbhal.c Staging: w35und: remove dead code from wbhal.c 2009-01-06 13:51:51 -08:00
wblinux_f.h Staging: w35und: remove ->shutdown from struct wbsoft_priv 2009-01-06 13:51:50 -08:00
wbusb_s.h Staging: w35und: inline DRIVER_AUTHOR and DRIVER_DESC macros 2009-01-06 13:51:49 -08:00
wbusb.c Staging: w35und: fix usb_control_msg() error handling in wb35_probe() 2009-02-27 12:56:24 -08:00

TODO:
	- sparse cleanups
	- checkpatch cleanups
	- kerneldoc cleanups
	- remove typedefs
	- remove unused ioctls
	- use cfg80211 for regulatory stuff
	- fix 4k stack problems

Please send patches to Greg Kroah-Hartman <greg@kroah.com> and
Pavel Machek <pavel@suse.cz>