static int atmel_set_freq(struct net_device *dev,			  struct iw_request_info *info,			  struct iw_freq *fwrq,			  char *extra){	struct atmel_private *priv = netdev_priv(dev);	int rc = -EINPROGRESS;		/* Call commit handler */		/* If setting by frequency, convert to a channel */	if((fwrq->e == 1) &&	   (fwrq->m >= (int) 241200000) &&	   (fwrq->m <= (int) 248700000)) {		int f = fwrq->m / 100000;		int c = 0;		while((c < 14) && (f != frequency_list[c]))			c++;		/* Hack to fall through... */		fwrq->e = 0;		fwrq->m = c + 1;	}	/* Setting by channel number */	if((fwrq->m > 1000) || (fwrq->e > 0))		rc = -EOPNOTSUPP;	else {		int channel = fwrq->m;		if (atmel_validate_channel(priv, channel) == 0) {			priv->channel = channel;		} else {			rc = -EINVAL;		} 	}	return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4d791aadf63c9d605bc9a4144e79d5756fc29fb3/atmel.c/clean/drivers/net/wireless/atmel.c