iwlwifi: handle DMA mapping failures
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Nov 2012 08:29:17 +0000 (09:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 Nov 2012 15:08:58 +0000 (16:08 +0100)
commit7c34158231b2eda8dcbd297be2bb1559e69cb433
tree550e6e356d67681dea769e035f2801fe2dc2cb76
parent8f7b8db6e0557c8437adf9371e020cd89a7e85dc
iwlwifi: handle DMA mapping failures

The RX replenish code doesn't handle DMA mapping failures,
which will cause issues if there actually is a failure. This
was reported by Shuah Khan who found a DMA mapping framework
warning ("device driver failed to check map error").

Cc: stable@vger.kernel.org
Reported-by: Shuah Khan <shuah.khan@hp.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/rx.c