diff options
author | Olivier Langlois <olivier@trillion01.com> | 2014-02-01 06:11:10 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-05 16:13:42 (GMT) |
commit | e7283f54dede376dbcdfc801f82e8659cbefa41d (patch) | |
tree | 865f6b2ef8a74b8e6f449b5aa7f908d00335068b /fs/qnx4 | |
parent | 906c44b881c18341e3afe6eb6d49a5767974ad6e (diff) | |
download | linux-fsl-qoriq-e7283f54dede376dbcdfc801f82e8659cbefa41d.tar.xz |
rtlwifi: Fix incorrect return from rtl_ps_enable_nic()
commit 2e8c5e56b307271c2dab6f8bfd1d8a3822ca2390 upstream.
rtl_ps_enable_nic() is called from loops that will loop until this function returns true or a
maximum number of retries is performed.
hw_init() returns non-zero on error. In that situation return false to
restore the original design intent to retry hw init when it fails.
Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions