mwl8k: Unmap the pci DMA address in xmit error path
authorNishant Sarmukadam <nishants@marvell.com>
Tue, 6 Nov 2012 13:52:48 +0000 (19:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Nov 2012 19:56:09 +0000 (14:56 -0500)
commitff7aa96f669d81b51339f7a0faf7ca37ed841ef1
tree2c3908287dee5a4161bf6dd6aefee515767710c0
parentfd712f5f5e0723fbbd3720983b3fa2189b2e10f8
mwl8k: Unmap the pci DMA address in xmit error path

We should unmap the DMA address in the error path, else it
causes resource leaks. Fix this.

Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c