/* Check if we have pending interrupts to process. Returns 1 if we have pending interrupts and 0 if we haven't.  */
bool ath5k_hw_is_intr_pending(struct ath5k_hw *ah)
/* Check if we have pending interrupts to process. Returns 1 if we have pending interrupts and 0 if we haven't.  */
bool ath5k_hw_is_intr_pending(struct ath5k_hw *ah)
{
	ATH5K_TRACE(ah->ah_sc);
	return ath5k_hw_reg_read(ah, AR5K_INTPEND) == 1 ? 1 : 0;
}