]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Check for pci_map_single() errors
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 3 Dec 2008 11:35:29 +0000 (03:35 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Dec 2008 14:35:59 +0000 (09:35 -0500)
commit5c5095d0ba3d892aab77d257e39b799222e29730
treef56af9c85de35bda97a0b45275eed6b6f7362712
parentf673b6019d5712f54aafe4ef8c638a325f689deb
ath9k: Check for pci_map_single() errors

pci_map_single() can fail so detect those errors with
pci_dma_mapping_error() and deal with them accordingly.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/beacon.c
drivers/net/wireless/ath9k/recv.c
drivers/net/wireless/ath9k/xmit.c