rt2x00: check for dma mappings errors
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 13 Feb 2013 13:27:05 +0000 (14:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 14 Feb 2013 19:24:07 +0000 (14:24 -0500)
commit4ea545d476d3182056aeb042c439237ed61d261e
treea216861969701e1f48e64d829caf700966088980
parent52301a815e81cdcbcf971ba28df0376dc7f3961c
rt2x00: check for dma mappings errors

Check output of dma_map_single functions which nowadays can fail (when
IOMMU is used). On write_beacon callbacks just print error, similar
like padding error is handled by rt2800_write_beacon.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00queue.c