/* This function is called by interface specific interrupt handler. It updates Power Save & Host Sleep states, and wakes up the main thread.  */
void btmrvl_interrupt(struct btmrvl_private *priv)
/* This function is called by interface specific interrupt handler. It updates Power Save & Host Sleep states, and wakes up the main thread.  */
void btmrvl_interrupt(struct btmrvl_private *priv)
{
	priv->adapter->ps_state = PS_AWAKE;
	priv->adapter->wakeup_tries = 0;
	priv->adapter->int_count++;
	wake_up_interruptible(&priv->main_thread.wait_q);
}