set_current_state(TASK_UNINTERRUPTIBLE); schedule_timeout(HW_PHY_OFF_LOOP_DELAY); 
schedule_timeout_uninterruptible(HW_PHY_OFF_LOOP_DELAY); 
static int ipw2100_hw_phy_off(struct ipw2100_priv *priv){#define HW_PHY_OFF_LOOP_DELAY (HZ / 5000)	struct host_command cmd = {		.host_command = CARD_DISABLE_PHY_OFF,		.host_command_sequence = 0,		.host_command_length = 0,	};	int err, i;	u32 val1, val2;	IPW_DEBUG_HC("CARD_DISABLE_PHY_OFF\n");	/* Turn off the radio */	err = ipw2100_hw_send_command(priv, &cmd);	if (err)		return err;	for (i = 0; i < 2500; i++) {		read_nic_dword(priv->net_dev, IPW2100_CONTROL_REG, &val1);		read_nic_dword(priv->net_dev, IPW2100_COMMAND, &val2);		if ((val1 & IPW2100_CONTROL_PHY_OFF) &&		    (val2 & IPW2100_COMMAND_PHY_OFF))			return 0;		set_current_state(TASK_UNINTERRUPTIBLE);		schedule_timeout(HW_PHY_OFF_LOOP_DELAY);	}	return -EIO;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/3173c8907ffb2c64456142da3df2bd0500bd59e0/ipw2100.c/buggy/drivers/net/wireless/ipw2100.c