#define RF_KILL_CHECK_THRESHOLD 3 
static inline int rf_kill_active(struct ipw2100_priv *priv){#define MAX_RF_KILL_CHECKS 5#define RF_KILL_CHECK_DELAY 40#define RF_KILL_CHECK_THRESHOLD 3	unsigned short value = 0;	u32 reg = 0;	int i;	if (!(priv->hw_features & HW_FEATURE_RFKILL)) {		priv->status &= ~STATUS_RF_KILL_HW;		return 0;	}	for (i = 0; i < MAX_RF_KILL_CHECKS; i++) {		udelay(RF_KILL_CHECK_DELAY);		read_register(priv->net_dev, IPW_REG_GPIO, &reg);		value = (value << 1) | ((reg & IPW_BIT_GPIO_RF_KILL) ? 0 : 1);	}	if (value == 0)		priv->status |= STATUS_RF_KILL_HW;	else		priv->status &= ~STATUS_RF_KILL_HW;	return (value == 0);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/5dc54a65b6981d327a84c7651bbfeef0c0aff977/ipw2100.c/clean/drivers/net/wireless/ipw2100.c