rtlwifi: Add missing DMA buffer unmapping for PCI drivers
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 26 Mar 2012 15:48:20 +0000 (10:48 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Apr 2012 18:54:03 +0000 (14:54 -0400)
commita75e2ad772b6c26efd702f04be1f9a6414d24f22
tree046a59a881444c85f2cbea826f2120e14bdfb57f
parent69b8797fc4a926bf5b895a39b84daddc7eebcd09
rtlwifi: Add missing DMA buffer unmapping for PCI drivers

In https://bugzilla.kernel.org/show_bug.cgi?id=42976, a system with driver
rtl8192se used as an AP suffers from "Out of SW-IOMMU space" errors. These
are caused by the DMA buffers used for beacons never being unmapped.

This bug was also reported at
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/961618

Reported-and-Tested-by: Da Xue <da@lessconfused.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c