From: Kalle Valo Date: Thu, 17 Oct 2013 08:36:15 +0000 (+0300) Subject: ath10k: add error handling to ath10k_pci_wait() X-Git-Tag: v3.14-rc1~94^2~482^2^2~43^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3782744c9b50edf94d28e37a937ff84f267dfab;p=pandora-kernel.git ath10k: add error handling to ath10k_pci_wait() ath10k_pci_wait() didn't notify any errors to callers, it just printed a warning so add proper error handling. This fixes a crash Ben reported: ath10k: MSI-X interrupt handling (8 intrs) ath10k: Unable to wakeup target ath10k: target took longer 5000 us to wake up (awake count 1) ath10k: Failed to get pcie state addr: -16 ath10k: early firmware event indicated BUG: unable to handle kernel NULL pointer dereference at 0000000000000004 IP: [] ath10k_ce_completed_send_next+0x47/0x122 [ath10k_pci] Reported-by: Ben Greear Signed-off-by: Kalle Valo --- Reading git-diff-tree failed