]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
iwlegacy: more checks for dma mapping errors
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 13 Feb 2013 14:49:08 +0000 (15:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 14 Feb 2013 19:24:07 +0000 (14:24 -0500)
commitbdb084b22d8aee66c87af5e9c36bd6cf7f3bccfd
tree62cdfe1e5a6a6a71b43b7580338837661e579cf0
parent4ea545d476d3182056aeb042c439237ed61d261e
iwlegacy: more checks for dma mapping errors

This patch check output of pci_map_single() calls. I missed them on
my previous patch "iwlegacy: check for dma mapping errors", which
fixed only pci_map_page() calls.

To handle remaining possible dma mappings errors, we need to rearrange
ilXXXX_tx_skb() and il_enqueue_hcmd() functions.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/3945-mac.c
drivers/net/wireless/iwlegacy/4965-mac.c
drivers/net/wireless/iwlegacy/common.c