From: Amitkumar Karwar Date: Tue, 23 Jul 2013 02:17:50 +0000 (-0700) Subject: mwifiex: move if_ops.cleanup_if() call X-Git-Tag: v3.12-rc1~132^2~297^2^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cfda67d8f37cc422ad9f181c173a241c913055b;p=pandora-kernel.git 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 Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed