mwifiex: fix missing destroy_workqueue() on error in mwifiex_add_virtual_intf()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 29 Sep 2016 14:57:56 +0000 (14:57 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 9 Nov 2016 01:34:25 +0000 (03:34 +0200)
commit424342ff0e033f5965a446fc6e37aba2c9cee248
tree5fc89547fadd2bfbeb571f99f00be7512ec381c6
parent3d8bd85c2c9e47ed2c82348aa5b6029ed48376ae
mwifiex: fix missing destroy_workqueue() on error in mwifiex_add_virtual_intf()

Add the missing destroy_workqueue() before return from
mwifiex_add_virtual_intf() in the error handling case.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c