acfa5110b8
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> |
||
---|---|---|
.. | ||
bss_f.h | ||
bssdscpt.h | ||
common.h | ||
core.h | ||
ds_tkip.h | ||
gl_80211.h | ||
ioctls.h | ||
Kconfig | ||
localpara.h | ||
mac_structures.h | ||
Makefile | ||
mds_f.h | ||
mds_s.h | ||
mds.c | ||
mlme_mib.h | ||
mlme_s.h | ||
mlmetxrx_f.h | ||
mlmetxrx.c | ||
mto_f.h | ||
mto.c | ||
mto.h | ||
os_common.h | ||
phy_calibration.c | ||
phy_calibration.h | ||
README | ||
reg.c | ||
scan_s.h | ||
sme_api.h | ||
sme_s.h | ||
sysdef.h | ||
wb35_ver.h | ||
wb35reg_f.h | ||
wb35reg_s.h | ||
wb35reg.c | ||
wb35rx_f.h | ||
wb35rx_s.h | ||
wb35rx.c | ||
wb35tx_f.h | ||
wb35tx_s.h | ||
wb35tx.c | ||
wbhal_f.h | ||
wbhal_s.h | ||
wbhal.c | ||
wblinux_f.h | ||
wbusb_s.h | ||
wbusb.c |
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>