commit | 4cfda67d8f37cc422ad9f181c173a241c913055b | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Mon Jul 22 19:17:50 2013 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jul 24 11:02:09 2013 -0400 |
tree | a9d360c31bba40157b77e21733e2899af5735aa1 | |
parent | f3340e6cfd0100d70653fe8a300049420e464deb [diff] |
mwifiex: move if_ops.cleanup_if() call As if_ops.init_if() is called in mwifiex_register(), corresponding cleanup routine should be called in mwifiex_unregister(). Currently it's there in mwifiex_adapter_cleanup(), hence interface specific cleanup is not performed if driver initialization is failed. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>