linux/drivers/net/wireless/orinoco
Ondrej Zary fe5d96246e orinoco_usb: Fix broken firmware load error checking
The check of ezusb_firmware_download() return value (added by commit
488ec87803) is broken because
ezusb_firmware_download() returns 1 on success.
This causes the driver not to work with the following error:
orinoco_usb: probe of 3-3:1.0 failed with error -14

Check the return value only for negative values.

This fix should be applied to -stable kernels too.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-05-13 15:56:35 -04:00
..
airport.c
cfg.c orinoco: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} 2014-02-28 14:12:36 -05:00
cfg.h
fw.c wireless, orinoco: release_firmware() tests for NULL, remove explicit tests before calls 2012-04-12 15:06:08 -04:00
fw.h
hermes_dld.c
hermes_dld.h
hermes_rid.h
hermes.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
hermes.h
hw.c orinoco: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} 2014-02-28 14:12:36 -05:00
hw.h
Kconfig
main.c wireless: Remove unnecessary alloc/OOM messages, alloc cleanups 2013-02-04 13:22:34 -05:00
main.h wireless: drivers: make use of WLAN_EID_VENDOR_SPECIFIC 2012-10-18 09:01:54 +02:00
Makefile
mic.c
mic.h
orinoco_cs.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
orinoco_nortel.c wireless: orinoco: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:44 -04:00
orinoco_pci.c wireless: orinoco: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:44 -04:00
orinoco_pci.h net/trivial: replace numeric with standard PM state macros 2013-06-28 22:11:48 -07:00
orinoco_plx.c wireless: orinoco: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:44 -04:00
orinoco_tmd.c wireless: orinoco: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:44 -04:00
orinoco_usb.c orinoco_usb: Fix broken firmware load error checking 2014-05-13 15:56:35 -04:00
orinoco.h orinoco: Remove extern from function prototypes 2013-09-24 18:06:22 -07:00
scan.c orinoco: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} 2014-02-28 14:12:36 -05:00
scan.h
spectrum_cs.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
wext.c orinoco: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} 2014-02-28 14:12:36 -05:00
wext.h