/* Stop any interrupts from executing so that, once this function returns, other layers of the driver can be sure they won't get any more callbacks. Thus must be called on a proper process context.  */
void ipwireless_stop_interrupts(struct ipw_hardware *hw)
/* Stop any interrupts from executing so that, once this function returns, other layers of the driver can be sure they won't get any more callbacks. Thus must be called on a proper process context.  */
void ipwireless_stop_interrupts(struct ipw_hardware *hw)
{
	if (!hw->shutting_down) {
		hw->shutting_down = 1;
		del_timer(&hw->setup_timer);
		do_close_hardware(hw);
	}
}