summaryrefslogtreecommitdiff
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorandrea.merello <andrea.merello@gmail.com>2014-02-05 21:38:06 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2014-02-06 19:35:53 (GMT)
commit348f7d4adee97f222e3ad9ff97956ca3793d11c6 (patch)
tree150c5d381aa5e34986d0f99b7a9ee4e095cb150b /net/wireless/core.h
parent2b4db05e7e2f1efc71e36a9dc1adf5ba164a2330 (diff)
downloadlinux-348f7d4adee97f222e3ad9ff97956ca3793d11c6.tar.xz
rtl8180: Add error check for pci_map_single return value in TX path
Orignal code will not detect a DMA mapping failure, causing the HW to attempt a DMA from an invalid address. This patch add the error check and eventually simply drops the TX packet if we can't map it for DMA. Signed-off-by: andrea merello <andrea.merello@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/core.h')
0 files changed, 0 insertions, 0 deletions