commit | 9e4aee43dc2211a976f8aa7df5cf823d7a4ae640 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Dec 04 16:17:46 2015 +0300 |
committer | Kalle Valo <kvalo@codeaurora.org> | Fri Dec 11 13:22:04 2015 +0200 |
tree | 05fc8f785f403e913f307f9e47004d5d85e0ba76 | |
parent | 97276c10cb45380ba5d5772b616fc33b55b5bf40 [diff] |
hostap: fix an error code in prism2_config() The current code returns success if prism2_init_local_data() fails, but we want to return an error code. Also we can remove the bogus ret initializer because it is wrong and never used. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>