]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iwlwifi: handle DMA mapping failures
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Nov 2012 08:29:17 +0000 (09:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 20:14:18 +0000 (12:14 -0800)
commite91533adb3ab60e10f05a537936e475098522766
tree2a32d8e29a917357c6b277df9a513e26c48f478d
parentdd51fb8944830c19fe9f946e32c95c569985ac85
iwlwifi: handle DMA mapping failures

commit 7c34158231b2eda8dcbd297be2bb1559e69cb433 upstream.

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").

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/pcie/rx.c