diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-08-05 05:18:28 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-05 20:52:45 +0200 |
commit | 0cbe8c87fe02513e6de981c18502d220ed4afe41 (patch) | |
tree | b08bf57dfed97c33044c34a2ece0c36d3fc6aa6e /drivers/acpi | |
parent | ath9k: Support ANT diversity for WB225 (diff) | |
download | linux-0cbe8c87fe02513e6de981c18502d220ed4afe41.tar.xz linux-0cbe8c87fe02513e6de981c18502d220ed4afe41.zip |
hostap: do not return positive number on failure path in prism2_open()
prism2_open() as an .ndo_open handler should not return positive numbers
in case of failure, but it does return 1 in a couple of places.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions