mwifiex: usb: unlock on error in mwifiex_usb_tx_aggr_tmo()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 10 Jul 2017 07:21:15 +0000 (10:21 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 14:50:56 +0000 (17:50 +0300)
commitfe0c94be77a0b69456d6a35c838ee23d68204ba2
treef45144118f216098b843eb4b3d83c3eb79479b95
parentf101d9649c42daecaa9650b362be8068f8f8c933
mwifiex: usb: unlock on error in mwifiex_usb_tx_aggr_tmo()

We need to unlock if mwifiex_usb_prepare_tx_aggr_skb() fails.

Fixes: a2ca85ad721d ("mwifiex: usb: add timer to flush aggregation packets")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/usb.c