diff options
author | 2014-05-09 18:10:34 +0200 | |
---|---|---|
committer | 2014-05-13 15:56:35 -0400 | |
commit | fe5d96246e9c4d266c4a8dca99f82ad82f2305b5 (patch) | |
tree | 5bcf7c7b0afa226827bae936cc3d8fef0ca7b588 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ath9k: non-functional: calculate DFS pulse interval per-wiphy (diff) | |
download | linux-dev-fe5d96246e9c4d266c4a8dca99f82ad82f2305b5.tar.xz linux-dev-fe5d96246e9c4d266c4a8dca99f82ad82f2305b5.zip |
orinoco_usb: Fix broken firmware load error checking
The check of ezusb_firmware_download() return value (added by commit
488ec878034eccb852267b0e27ce9d511f75c587) 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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions