Commit 4aa2d31f authored by Christophe Jaillet's avatar Christophe Jaillet Committed by Kalle Valo

wcn36xx: Fix error handling

Reorder 'out_free_dxe_pool' and 'out_free_dxe_ctl' error handling labels
in order to match the way resources have been allocated.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent c73f8c00
...@@ -337,10 +337,10 @@ static int wcn36xx_start(struct ieee80211_hw *hw) ...@@ -337,10 +337,10 @@ static int wcn36xx_start(struct ieee80211_hw *hw)
wcn36xx_smd_stop(wcn); wcn36xx_smd_stop(wcn);
out_free_smd_buf: out_free_smd_buf:
kfree(wcn->hal_buf); kfree(wcn->hal_buf);
out_free_dxe_pool:
wcn36xx_dxe_free_mem_pools(wcn);
out_free_dxe_ctl: out_free_dxe_ctl:
wcn36xx_dxe_free_ctl_blks(wcn); wcn36xx_dxe_free_ctl_blks(wcn);
out_free_dxe_pool:
wcn36xx_dxe_free_mem_pools(wcn);
out_smd_close: out_smd_close:
wcn36xx_smd_close(wcn); wcn36xx_smd_close(wcn);
out_err: out_err:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment