]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab49164b252064df1872d4b71dc40a28f0dc2b24
tree2c3908287dee5a4161bf6dd6aefee515767710c0
parent0754cf3d02f7788e5f21a286f83ab85270f6a87a
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